ListView
automatically adds padding from MediaQuery
in NavigationView
🐛
#884
Labels
bug
Something isn't working
Describe the bug
When on a mobile device with a
NavigationView
fromfluent_ui
, the navigation items are shifted downwards. Additionally, the footer items show a strange padding above them.To Reproduce
Steps to reproduce the behavior:
https://github.com/ricardoboss/fluent_ui_safe_area_bug
SafeArea
would add a padding)SafeArea
widgetExpected behavior
The items should be positioned directly below the app bar. Also, the footer items should not extend their container beyond their total height.
Screenshots
This screenshot shows the current state:
While this is the expected output:
This is a video showing the behaviour:
Screen.Recording.2023-07-12.at.18.02.23.mov
Additional context
I used the widget detail tree from the flutter inspector and the padding gets added by a
SliverPadding
by theListView
via theMediaQuery
.The documentation states:
The text was updated successfully, but these errors were encountered: