You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The entire viewport of the page is reduced in Android, which is why a grey area appears. I confirmed it with inspect element as well.
However, in iOS - this happens when going back from a page with keyboard open, entire viewport stays same, but capacitor thinks keyboard is open: (probably because of how keyboard is handled differently in both platforms.
Additional Context
I checked in existing issues and reported bugs, couldn't find the same reported. if it's a known issue, please link to that.
Bug Report
Plugin(s)
Capacitor Version
Platform(s)
Current Behavior
When opening the app from a launcher while the keyboard is already open, the area for keyboard is reserved and shows up as greyed.
Screen recording:
Screen_Recording_20250823_131427_Niagara.Launcher.mp4
Screenshot:
Expected Behavior
It should not grey out the area when the keyboard is not open.
Code Reproduction
Repo: https://github.com/irshadshalu/capacitor-keyboard-bug-sample
Other Technical Details
The entire viewport of the page is reduced in Android, which is why a grey area appears. I confirmed it with inspect element as well.
However, in iOS - this happens when going back from a page with keyboard open, entire viewport stays same, but capacitor thinks keyboard is open: (probably because of how keyboard is handled differently in both platforms.
Additional Context
I checked in existing issues and reported bugs, couldn't find the same reported. if it's a known issue, please link to that.
Keywords: keyboard, grey area, keyboard startup issue