woocommerce-android icon indicating copy to clipboard operation
woocommerce-android copied to clipboard

[Bookings] Fix padding issue on booking filter pages

Open irfano opened this issue 2 weeks ago • 3 comments

Description

This fixes a padding issue that occurs when navigating to filter pages after tapping the search field.

The unwanted top gap was caused by nested Scaffolds, where the inner Scaffold was reapplying system window insets on top of the parent's padding. This is resolved by setting the inner Scaffold's contentWindowInsets to zero, preventing the double application of safe area insets.

Test Steps

I suggest you try this on trunk first. To reproduce the issue:

  1. Log in with a CIAB store.
  2. Go to Bookings.
  3. Tap the Search field.
  4. While the text cursor is still active on the search field, tap the Filters button.
  5. Tap Team Members.

Images/gif

Before After
before-team after-team
before-date after-date
  • [x] I have considered if this change warrants release notes and have added them to RELEASE-NOTES.txt if necessary. Use the "[Internal]" label for non-user-facing changes.

irfano avatar Dec 02 '25 17:12 irfano