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

Press enter key open the modal twice #164

Closed
octavioamu opened this issue Feb 4, 2015 · 3 comments
Closed

Press enter key open the modal twice #164

octavioamu opened this issue Feb 4, 2015 · 3 comments
Labels

Comments

@octavioamu
Copy link

When enter key is pressed is opening 2 times the same modal. Didn't find any issue related.

@voronianski voronianski added the bug label Feb 6, 2015
@NicuMotoc
Copy link

I have a similar problem. I click a button that opens the ngDialog after which every time I press enter it opens another ngDialog (which makes the browser window go a bit darker every time. Press enough enter keys and you get a black window with the same ngDialog opened on it again and again in the same position). I should mention that all my tags have type="button".

@octavioamu
Copy link
Author

@NicuMotoc that is related to #154 , is a focus problem. The second dialog opens on enter because your focus is in the button you already pressed and didn't change to the dialog.

@richardszalay
Copy link
Contributor

I think this will be fixed in #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants