-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[bug] Android Keyboard overlay/push behavior changes between app launches #7868
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
Comments
fwiw, adding |
I get this behaviour even without shifting apps. Setting that windowSoftInputMode param to my manifest fixed it. |
Confirmed this is still an issue in Tauri 2.5.1, the behaviour around window resizing when the keyboard opens on Android is quite random as the OP describes, sometimes it resizes the screen and sometimes it covers the content. Also confirmed adding |
I'm not sure if I'm hitting the same bug or a similar one. For me this happens consistently (input always covered by keyboard), but only when using edge-to-edge (which I enabled in the way indicated in this comment). For me the bug persists despite adding @FabianLars I can see why enabling edge-to-edge would cause this, but is this a desired behavior? I would still expect to be able to accommodate for the keyboard somehow. Is there another way? Edit: I tried using https://developer.mozilla.org/en-US/docs/Web/API/VirtualKeyboard_API to change Edit 2: Strange, Edit 3: Sigh: https://issues.chromium.org/issues/40797430. This is problematic given that edge-to-edge is the new default... |
Describe the bug
Basically, as the screenshots explain, sometimes when I open my app, the keyboard is overlaying over the app, and other times it pushes the content up (shortens the window height)?
I think probably the expected behavior is the latter?
I am still seeing this regression now in
2.0.0-alpha.14
Don't remember the version I was running when I first started seeing this, but I think it was in august maybe around
2.0.0-alpha.8
?Reproduction
I think it should happen on any Android app with a text input at the bottom of the screen.
Notice that the keyboard covers the input (screenshot right)
Keyboard should now no longer be covering the input (screenshot left)
Kinda being lazy, but I can build a reproduction repo if there isn't an easily-editable one you area already working with
Expected behavior
Input should move to be above keyboard (at least that was the behavior prior).
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: