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

alertify.confirm() returns OK and not CANCEL when ENTER KEY Pressed and CANCEL is default #278

Open
dbareis opened this issue Nov 17, 2024 · 0 comments

Comments

@dbareis
Copy link

dbareis commented Nov 17, 2024

I am calling "alertify**.confirm()**" with these options:

  • closable: false
  • closableByDimmer: false
  • defaultFocus: "cancel"
  • frameless: false
  • maximizable: true
  • pinnable: true
  • resizable: true
  • title: "A Title

If I don't mouse click the dialog and press ENTER, it response with CANCEL (good).
If I mouse click the anywhere dialog (not a button) and press ENTER, it response with CANCEL (bug). Clicking the dialog should not change the focus.

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

No branches or pull requests

1 participant