fix: Expenses screen — large empty gap between tabs and filter chips #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
On the Expenses screen with at least one expense, there is a large empty area between the "Expenses / Recurring" tabs and the filter chips row ("All / This week / This month"). The chips end up roughly in the middle of the screen and the expense item appears below them, making the list look like it starts at the bottom of the available space instead of right under the filters.
Repro
Expected
The filter chips should be pinned to the top of the list area, directly under the tabs. The list content (expense rows) should start immediately below the chips with no extra whitespace.
Likely cause
The list's outer container is filling the remaining height and the filter chips are sitting inside the
LazyColumn(or below it) with aweight/ vertical arrangement that pushes them to the middle. They should be hoisted out of the scrollable region (or givenstickyHeader) so the chips stay at the top and the list fills the rest of the screen.Scope
ExpenseListScreenand any shared scaffold it uses. Verify the fix on both "Expenses" and "Recurring" tabs.