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

keyboard layout messed up when opening second time #41

Open
madhuraadawadkar opened this issue Dec 10, 2018 · 2 comments
Open

keyboard layout messed up when opening second time #41

madhuraadawadkar opened this issue Dec 10, 2018 · 2 comments
Assignees

Comments

@madhuraadawadkar
Copy link

I am binding the keyboard popup on field which is on a modal window. When I open the keyboard for the first time, everything works well. But when I close it and the modal window and re-open the keyboard, the keyboard layout is completely messed up.

image

@srm985 srm985 self-assigned this Dec 10, 2018
@madhuraadawadkar
Copy link
Author

This is happening because the size calculations are done when the elements are not visible.
To make it work, I added a call to sizeKeys() inside pageElement.on('click touch', options.inputType, function () {
This worked for me.

@MarioOlivera
Copy link

This is happening because the size calculations are done when the elements are not visible.
To make it work, I added a call to sizeKeys() inside pageElement.on('click touch', options.inputType, function () {
This worked for me.

Very Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants