-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
DropdownMenu isn't visible if it is aligned with top of keyboard #147538
Labels
a: text input
Entering text in a text field or keyboard related problems
f: material design
flutter/packages/flutter/material repository.
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Comments
Reproducible using the code sample provided above. flutter doctor -v
|
Here is another recording simulating a registration for or something where the dropdown is located at the bottom. In the first run, you can see that the dropdown expands as expected. Then I add one more input field so the dropdown ends up too close to the keyboard and the dropdown no longer expands downwards. recording2.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: text input
Entering text in a text field or keyboard related problems
f: material design
flutter/packages/flutter/material repository.
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
P2
Important issues not at the top of the work list
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Steps to reproduce
If a
DropdownMenu
widget by coincidence is aligned with the top of the virtual keyboard, it does not expand as expected.In our app this happens on some devices in the registration screen, there is a dropdown to select countries and on for instance iPhone 12 this widget is perfectly aligned with the top of the keyboard and the users do not get the list when the input field gets the focus.
The attached sample code is a minimal working example for an iPhone 15 screen as in the video. It is based on the official sample code for the DropdownMenu widget.
Expected results
DropdownMenu entries should expand.
Actual results
DropdownMenu entries do not expand/not visible.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
dropdown.mov
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: