jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Keybindings not working

Open dreadnautxbuddha opened this issue 8 years ago • 6 comments

The moment the confirm appears, normally clicking on the 'enter' and 'escape' key automatically closes the confirmation box. BUT the moment i click on the dark background (the overlay that covers the entire window), pressing on the 'enter' and 'escape' key no longer closes the confirmation box

dreadnautxbuddha avatar Jun 30 '17 10:06 dreadnautxbuddha

hello @dreadnautxbuddha Can you please create a jsfiddle for this ? I will look into this soon

craftpip avatar Jul 09 '17 18:07 craftpip

here is a working the jsfiddle: https://jsfiddle.net/5x6c2beg/14/

Steps to recreate the bug:

  1. click on "Alert!" button
  2. Upon the showing of the $.alert box, click on the background.
  3. click on the "enter" key on your keyboard

This will not dismiss the $.alert box despite having added the "enter" key on its list of keys. The clicking of the background removes the keybindings from the buttons

dreadnautxbuddha avatar Jul 10 '17 08:07 dreadnautxbuddha

Thanks @dreadnautxbuddha, i will get this fixed as soon as possible. 👍

craftpip avatar Jul 11 '17 15:07 craftpip

sure thing, @craftpip

dreadnautxbuddha avatar Jul 11 '17 15:07 dreadnautxbuddha

Is the bug had fixed?

xieyihao avatar Mar 22 '19 02:03 xieyihao

any updates on this bug? still having this issue where once the background is clicked, the escape key no longer works to close the modal. Thanks!

chris2039 avatar Aug 08 '19 15:08 chris2039