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

Input locked when keyboard is closed #495

Closed
mysiki opened this issue Oct 23, 2016 · 2 comments
Closed

Input locked when keyboard is closed #495

mysiki opened this issue Oct 23, 2016 · 2 comments

Comments

@mysiki
Copy link

mysiki commented Oct 23, 2016

Hello,

First, thanks for this great job. :D

I have a issue (?), with my setup, when I close the keyboard the input (from hardware keyboard) don't work... It's seems to be link with the Preview (false).

I use a button for open the visual keyboard.

When I load the page, I can write with the physical keyboard. After I open the visual keyboard, all keep ok (hard and visual keyboard). Then I close the visual keyboard and I cannot write anything more... I can write again only when the visual keyboard is open ...

I have try with the lockinput:false option, but no change.

Nota : Just testing, when I enable the preview I have no issue ...

If you can help me please :D

My code :

$("#cab").keyboard({
layout : "custom",
customLayout: {
"normal" : ["1 2 3", "4 5 6", "7 8 9", "0 {b} {a}"],
},
position : {
// null (attach to input/textarea) or a jQuery object (attach elsewhere)
of : $("#tablehaut"),
my : "right bottom",
at : "right top",
// at2 is used when "usePreview" is false (centers keyboard at the bottom
// of the input/textarea)
at2 : "right top"
},
//caretToEnd : true,
usePreview : false,
autoAccept : true,
openOn : null,

});

//Keyboard button
$("#keyboardimg").click(function() {
var kb = $("#cab").getkeyboard();
kb.reveal();
});

@mysiki
Copy link
Author

mysiki commented Nov 3, 2016

Good, your change work with my setup. Thanks.

@emondora
Copy link

emondora commented Nov 24, 2016

same issue, usePreview : false trigger the bug!

@Mottie Mottie closed this as completed in df3bb0a Nov 25, 2016
Mottie added a commit that referenced this issue Nov 25, 2016
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

2 participants