-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Prevent session resize when on screen keyboard is opened #1667
Comments
I agree, this would be nice. This was not a conscious decision, this is how the onscreen keyboard works on Android. It's difficult to make things work differently if you simultaneously want automatic resize. I saw that you wrote on the mailing list; my answer there:
|
Perhaps it's possible to find a nice way to pause the |
This patch seems to work quite OK, do you mind giving it a try?
With that patch alone, there are problems when the onscreen keyboard is closed by means other than the GUI button, but perhaps that can be fixed too. |
Is your feature request related to a problem? Please describe.
Using touch device, I toggle on screen keyboard: toggleVirtualKeyboard(). When it shows and hides, the noVNC _canvas resizes to fit the available viewport.
Describe the solution you'd like
I would like to have the on screen keyboard overlay the _canvas content so that it does not resize.
Describe alternatives you've considered
I've read through rfb.js and display.js which I assume contain some variable (min height/resize/isOverlay keyboard) but trial and error not lucky. Also tried remote/local/none scaling but I believe it is due to the canvas element resizing so viewport is not relevant.
Additional context
I think it's well explained and maybe even too simple a problem to ask, sorry I am beginner only. If any information requested I will provide. Thank you for your time.
The text was updated successfully, but these errors were encountered: