-
Notifications
You must be signed in to change notification settings - Fork 13.5k
bug: Keyboard pushes content up and making a scrollable view. (2.0.0-alpha.54) #5302
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
Without the image it works great but i need an image over the input |
This is by design, otherwise the virtual keyboard pushes everything out of the way. We've still got room for improvement, but doing this is the less or evils when it comes to handling how the keyboard adjusts your app. |
@Abdiliban the only way Im fixing this right now is by setting my content to "position: absolute". That way the keyboard wouldn't adjust the content. Having said that @adamdbradley, shouldn't the normal behaviour is for the content to adjust back to it's original position after the virtual keyboard closes? |
@AdrianTeh it's worth also noting that another potential workaround to this behavior is to turn off the As Adam mentioned above, this changes the overlay-avoidance behavior when the virtual keyboard appear by telling Ionic not get out of it's way. The underlying native browser also has a separate pushing behavior that may be invoked. I've jotted down a few more details at: |
When I press the input and the keyboard pops up, it pushes my content up and create a scrollable view.
here is the code:
Notice that after i pressed the input, it got focused and pushed my content up so now i have a larger height on the app.
The text was updated successfully, but these errors were encountered: