Skip to content

fix(ui): keep content out from under the translucent app bar - #18

Merged
jsfraz merged 1 commit into
developmentfrom
fix/content-under-app-bar
Nov 17, 2026
Merged

jsfraz merged 1 commit into
developmentfrom
fix/content-under-app-bar

Conversation

@jsfraz

@jsfraz jsfraz commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Both screens extend the body behind the app bar for the glass effect, but nothing accounted for its height.

Home: the folder chips were painted under the bar (invisible) and the list's automatic MediaQuery padding added a second inset, leaving the dead band above the first chat.
Chat: scrolled to the top, the avatar header and the first day separator were cut by the bar.

Fix: the chips and the conversation now start below the bar (MediaQuery.viewPadding.top + kToolbarHeight), and the home list's automatic padding is turned off so the gap is not counted twice. Content still scrolls under the bar, which is what the glass is there for.

Measured on the running build (semantic bounds, app bar ends at 104):

  • Home: chips 112–160, first chat row at 164 (before: chips at ~20–56, first row at ~180 with an empty band);
  • Chat at the top: avatar header 148–208 (before: under the bar).

Verification: flutter analyze --no-fatal-infos clean, flutter test 153/153.

Known leftover, not touched: the sticky day chip inside a day still pins to the very top of the viewport, so it slides under the bar while that day is on screen. Fixing it means offsetting the pinned sliver; say the word.

Both screens put the body behind the app bar for the glass effect, but
nothing compensated for its height, so the top of the content was painted
under the bar. On Home that hid the folder chips and, with the list's own
automatic MediaQuery padding on top, left a dead band above the first
chat. In a chat the avatar header and the first day separator were cut by
the bar when scrolled to the top.

The chips and the conversation now start below the bar (status bar plus
toolbar height); the list's automatic padding is off so the gap is not
counted twice. Scrolling still passes content under the bar, which is what
the glass is for.

Measured on the running build: chips 112-160 (bar ends at 104) with the
first chat row at 164, and the chat header avatar at 148-208 instead of
under the bar.
@jsfraz
jsfraz merged commit 1043485 into development Nov 17, 2026
1 check passed
@jsfraz
jsfraz deleted the fix/content-under-app-bar branch November 17, 2026 23:46
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.

1 participant