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

Redraw method is reposition the keyboard for custom layout #531

Closed
Sritharan-racap opened this issue Feb 27, 2017 · 3 comments
Closed

Redraw method is reposition the keyboard for custom layout #531

Sritharan-racap opened this issue Feb 27, 2017 · 3 comments

Comments

@Sritharan-racap
Copy link

Hi Mottie,
Firstly I would like to say this is an awesome library. I have small problem with keyboard design.

I am using multiple custom layout like Greek, Special characters etc. so i have to switch the layout on a constant basis, i am doing the switching using redraw event, but the new layout is repositioning itself below the input box which is annoying.

I know u have already exposing the position callback for reposition keyboard where I can do the keyboard repositioning beforeVisible.

Is there is shortcut boolean feature to stop the reposition of the keyboard on redraw ???

@Mottie
Copy link
Owner

Mottie commented Mar 1, 2017

Hi @Sritharan-racap!

I'm out of the country right now with only my cell... I'm sorry you're having this issue. Sadly I won't be able to test or resolve this issue until I return next week. Thank you for your patience.

@Mottie
Copy link
Owner

Mottie commented Mar 9, 2017

The redraw method still uses the reveal function which removes the current keyboard and creates a new keyboard with the new layout, so the keyboard would still need to be repositioned when it is made visible.

I just created this demo for issue #532 allowing you to switch layouts & language using an action key and the keyboard does not shift. So, it sounds like there might be another cause making the keyboard shift below the input.

@Sritharan-racap
Copy link
Author

Really, this is not the same behavior in my machine. Probably I am using an older version of the keyboard source code. But this was not a terrible issue. I just called the jquery position function before visible which u are already exposing and the function works like a charm.

Hey Mottie, this is an awesome library u have contributed to the community man. the keyboard looks really beautiful in super big screens in our office.

Kudos have a great day. I am closing this issue.

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

2 participants