You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for your excellent work, I love your plugin :)
I found an issue: the keyboard only works with elements created before calling init function. If you create a new input dinamically (for example inside a modal box) the keyboard doesn't works.
You should change the following code (jqkeyboard.js, line 433):
<========
$(allowedElements).focus(function () {
EventManager.$activeElement = $(this);
});
========>
$(document).on('focus',allowedElements,function () {
EventManager.$activeElement = $(this);
});
This fix the problem.
Thanks again!
All the best,
Alejandro Vallcanera
The text was updated successfully, but these errors were encountered:
Hi! Thanks for your excellent work, I love your plugin :)
I found an issue: the keyboard only works with elements created before calling init function. If you create a new input dinamically (for example inside a modal box) the keyboard doesn't works.
You should change the following code (jqkeyboard.js, line 433):
<========
$(allowedElements).focus(function () {
EventManager.$activeElement = $(this);
});
========>
$(document).on('focus',allowedElements,function () {
EventManager.$activeElement = $(this);
});
This fix the problem.
Thanks again!
All the best,
Alejandro Vallcanera
The text was updated successfully, but these errors were encountered: