Files
pipelines/app/notes/phone-content-ends-above-bottom-bar.md
T
alan 08b2540ec2 Lay out phone content above navigation bar
Use the phone NavigationBar as a real Scaffold bottom slot so destination content ends at the bar rather than scrolling beneath it. Update shell regression coverage and document the focused verification.
2026-11-12 19:25:39 +00:00

760 B

Phone content ends above the bottom bar

Changed the adaptive shell to use the phone NavigationBar as a real Scaffold.bottomNavigationBar without extendBody, so destination content is constrained above the opaque bar and its system safe-area inset. The existing floating bar keeps extendBody on the narrow tablet layout, preserving its overlay composition; rail layouts are unchanged.

Added a widget regression asserting that a phone destination body's bottom edge equals the navigation bar's top edge.

Focused verification:

  • tool/memwatch/full.sh 'test/shell/shell_navigation_bar_test.dart test/shell/floating_tab_bar_test.dart' — 15 passed.
  • tool/analyze.sh — clean.

Browser/device captures were not run in this implementation stage.