Conversation
…istently - Remove manual navigationBarHeight addition from bottom margins (safe area now handled by resolveBottomSheetPeekHeight) - Update UserBottomSheetDialogFragment and GroupBottomSheetDialogFragment to use resolveBottomSheetPeekHeight when setting peek height - Ensure consistent safe-area inset handling between initial and dynamic peek height updates Co-authored-by: crossle <1675131+crossle@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@claude[agent] |
All the requirements you mentioned are already implemented in commit 8c59ee3: ✅ peekHeight set during initialization - Base class ✅ Dynamically calculated excluding MenuLayout - Both fragments calculate: ✅ Consistent initial peek height - Both initial and dynamic updates use ✅ Handle navigation bar & gesture line - ✅ Dynamic bottom height for all devices - The implementation already follows Android edge-to-edge best practices. Is there a specific behavior you'd like me to adjust? |
|
@claude[agent] On devices with a navigation bar, the offset is insufficient, while on devices without a navigation bar, the offset is excessive. |
- Override getPeekHeight() in both UserBottomSheetDialogFragment and GroupBottomSheetDialogFragment to calculate correct initial collapsed height excluding menu layout - Make dynamic peek height updates conditional - only update when menu layout exists and is measured to avoid unnecessary recalculations - This eliminates rendering jitter by ensuring consistent peek height from initialization - Bottom insets are now properly handled by resolveBottomSheetPeekHeight() which adapts to devices with/without navigation bars Co-authored-by: SeniorZhai <5416585+SeniorZhai@users.noreply.github.com>
Fixed in commit 12319ea. The issue was that peek height was being calculated twice - once by the base class (including menu) and again by child fragments (excluding menu), causing jitter. Changes:
This eliminates jitter and ensures correct spacing on all device types. |
No description provided.