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
viewInsets.bottom is incorrect after showing some picker on iOS #134798
Comments
Hi @kohp27. Thanks for filing this. I'm able to reproduce this on the latest stable, master flutter doctor -v
|
Yes, if the keyboard were to keep activating on Android, the problem may also occur on Android. But I was not sure if this was possible, so I reported that it only happened on iOS. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Steps to reproduce
This problem has occurred on iOS from 3.10.0 to the current latest master branch.
It did not occur in 3.7.x or earlier.
Expected results
Always get the correct
MediaQuery.of(context).viewInsets.bottom
value.Actual results
The value is incorrect (slightly smaller) and the keyboard hides part of the screen.
Return to the home screen or enter text and get the correct value.
Even if resizeToAvoidBottomInset is set to false, the keyboard height is not calculated correctly and the keyboard hides part of the screen.
Code sample
Code sample
In the following, image_picker is used.
Using file_picker is the same.
Screenshots or Video
Screenshots / Video demonstration
screen_capture_compressed.mp4
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
User name is modified.
The text was updated successfully, but these errors were encountered: