Problem
On mobile, the top bar (header/navigation) is normally pinned and visible. However, when the on-screen keyboard opens (e.g. when focusing an input field to type a message), the top bar gets pushed out of view.
This means the user loses access to navigation and controls while typing, which is precisely when they're actively interacting with the app.
Expected behavior
The top bar should remain pinned to the top of the viewport even when the on-screen keyboard opens, so navigation and controls stay accessible while typing.
Context
Problem
On mobile, the top bar (header/navigation) is normally pinned and visible. However, when the on-screen keyboard opens (e.g. when focusing an input field to type a message), the top bar gets pushed out of view.
This means the user loses access to navigation and controls while typing, which is precisely when they're actively interacting with the app.
Expected behavior
The top bar should remain pinned to the top of the viewport even when the on-screen keyboard opens, so navigation and controls stay accessible while typing.
Context
position: stickyvsfixed, or lack of handling forresize/visualViewportevents).