Open jmdcode opened 5 years ago
Hi @jmdcode!
I've a similar report when users use bootstrap modals, so it may be related. Try changing some of the default keyboard triggered events. The bootstrap issue was due to the "hidden"
event being triggered. I haven't time to test this library with Fancybox.
I had the same problem while using Fancybox 3.5.7. Following the advice to change the triggered events worked. The conflict is with the kbBeforeClose event. I changed the value for kbBeforeClose to beforeClose1 and everything is working now.
With Fancybox 3 (3.5.7) loaded, clicking the Enter or Cancel button on the keyboard object produces an: "Uncaught TypeError: Cannot read property 'hash' of undefined" from jquery.fancybox.min.js. If I don't load Fancybox, no error.
I don't see how Fancybox is involved, as it is only called on a specific (not related to keyboard) button click.
Keyboard code:
Any help/ideas will be greatly appreciated.
-john