Giving focus to a text field ignores a Scaffold bottomSheet, leading to the text field not being visible #123597
Labels
f: focus
Focus traversal, gaining or losing focus
f: scrolling
Viewports, list views, slivers, etc.
found in release: 3.7
Found to occur in 3.7
found in release: 3.9
Found to occur in 3.9
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-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Steps to Reproduce
flutter run
on the code sampleExpected results:
The bottomSheet is taken to account, and the view is scrolled so the TextField is just above the bottomSheet, meaning it is visible when focused.
Actual results:
The view is scrolled so the text field is above the keyboard, but below the bottomSheet, meaning it is not visible.
Code sample
Logs
Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-03-28.at.13.43.53.mp4
The text was updated successfully, but these errors were encountered: