Mottie / Keyboard

Virtual Keyboard using jQuery ~
http://mottie.github.io/Keyboard/
Other
1.78k stars 723 forks source link

Can not click accept and return error #682

Closed sandyricardo closed 5 years ago

sandyricardo commented 6 years ago

Hai, i use fancybox 3 and keyboard.js in my project. I have error that trigger when clicking accept button on the popup keyboard

Uncaught TypeError: Cannot read property 'hash' of undefined at HTMLDocument.beforeClose.fb (jquery.fancybox.js:5034) at HTMLDocument.dispatch (jquery.min.js:3) at HTMLDocument.q.handle (jquery.min.js:3) at Object.trigger (jquery.min.js:4) at HTMLInputElement. (jquery.min.js:4) at Function.each (jquery.min.js:2) at r.fn.init.each (jquery.min.js:2) at r.fn.init.trigger (jquery.min.js:4) at $.keyboard.base.close (jquery.keyboard.js:1783) at Object.accept (jquery.keyboard.js:2524)

Can anyone help me?

Mottie commented 6 years ago

Hi @sandyricardo!

Please share the code being used, there isn't a lot I can do to help without it. Make sure to include the fancybox code as well.

On the main wiki page is a demo showing how to use the keyboard with jQuery UI's dialog: https://jsfiddle.net/Mottie/nf6so7r0/. Maybe it'll help if you're unable to share the code.

Mottie commented 5 years ago

I'm guessing this issue has been resolved, so I'm going to close it. If you continue to have problems, please feel free to continue the discussion in this thread.