Skip to content

Fix navigation bar insets for three-button navigation - #4

Closed
flowing-water1 wants to merge 1 commit into
xintaofei:mainfrom
flowing-water1:fix/navigation-bar-insets
Closed

flowing-water1 wants to merge 1 commit into
xintaofei:mainfrom
flowing-water1:fix/navigation-bar-insets

Conversation

@flowing-water1

Copy link
Copy Markdown

Summary

  • apply navigation bar padding to the main bottom navigation
  • keep the session composer above three-button and gesture navigation areas
  • preserve the existing edge-to-edge layout

Verification

  • ./gradlew.bat :app:testDebugUnitTest :app:assembleDebug
  • installed Debug APK build completed successfully

@xintaofei

Copy link
Copy Markdown
Owner

Thanks for tracking this down — the composer overlap on 1.0.1 was real. It's been fixed on our development branch in a slightly different way, which will land with the next push/release:

  • The navigation-bar inset is now applied inside the composer itself, so the composer surface runs on under the gesture/3-button bar while the text field and send button stay above it. Adding navigationBarsPadding() on the outer bottom-bar column on top of that would consume the inset first and make the surface stop short of the screen edge, leaving a bare strip.
  • For the bottom navigation: Material 3's NavigationBar already pads the navigation-bar inset through its default windowInsets, so the extra modifier doesn't change its layout (that bar has since been reworked as well).

Closing for those reasons, but much appreciated.

@xintaofei xintaofei closed this Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants