Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog closes unexpectedly in IE #2560

Closed
owlkaboom opened this issue May 31, 2018 · 1 comment
Closed

Dialog closes unexpectedly in IE #2560

owlkaboom opened this issue May 31, 2018 · 1 comment
Assignees
Labels
Browser: IE (deprecated) deprecated as of Blueprint v5.0 (May 2023) Type: bug
Milestone

Comments

@owlkaboom
Copy link

owlkaboom commented May 31, 2018

Environment

Blueprint Version: 2.1.1,
Browser - IE 11

Question

When pressing the enter key on an input field the Dialog automatically closes, I know IE 11 is the only browser to exhibit this behavior since it's trying to submit a form. I can fix the problem by wrapping my inputs in a "form" but I was wondering if there is a reason the close button does not have the attribute type="button"?

Stack Overflow link explaining the odd IE behavior.
https://stackoverflow.com/questions/12325066/button-click-event-fires-when-pressing-enter-key-in-different-input-no-forms

@giladgray giladgray added Type: bug Browser: IE (deprecated) deprecated as of Blueprint v5.0 (May 2023) labels May 31, 2018
@giladgray
Copy link
Contributor

@owlkaboom interesting report! will look into it.

@giladgray giladgray changed the title Clarification on Dialog close button behaviour Dialog closes unexpectedly in IE May 31, 2018
@giladgray giladgray self-assigned this Aug 2, 2018
@giladgray giladgray added this to the 3.1.0 milestone Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Browser: IE (deprecated) deprecated as of Blueprint v5.0 (May 2023) Type: bug
Projects
None yet
Development

No branches or pull requests

2 participants