I am currently working on a one-page web application. The interface includes a bottom bar that slides up from off-screen, with overflow set to hidden.
Within this sliding bar, there is a text input field. When tapped on mobile devices, the browser automatically scrolls to focus on this input, positioning it in the middle of the screen. However, after entering text and pressing 'done' on the keyboard, the keyboard disappears but the browser fails to return to its original position, revealing content outside of the parent div that has overflow:hidden set.