fix: keyboard covers password field on Android#65
Open
brahmlower wants to merge 1 commit intodonetick:mainfrom
Open
fix: keyboard covers password field on Android#65brahmlower wants to merge 1 commit intodonetick:mainfrom
brahmlower wants to merge 1 commit intodonetick:mainfrom
Conversation
ac9905b to
8b8052d
Compare
8b8052d to
3503b77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue on android where the onscreen keyboard covers some UI elements, making it difficult to know if the right field is selected without having to manually scroll the viewport.
The capacitor keyboard library helps fix this behavior with the
resizeoption for ios, and theresizeOnFullScreenfor android. Capacitor keyboard config docs: are here https://capacitorjs.com/docs/apis/keyboard#configuration.I have not tested these changes on ios. I don't have an iphone and haven't gotten ios emulation set up locally yet.Edit: I updated the imports for ios, but the keyboard seemed to still cover the fields. This is partially fixed by the display size change in #66, but probably still needs some follow-up work.
Before:
Screen.Recording.2026-02-23.at.4.18.55.PM.mov
After:
Screen.Recording.2026-02-23.at.4.21.15.PM.mov
(the "Oops something went wrong" warnings at the start of the recordings are unrelated- part of some other work I'm testing)