HomePhabricator
Diffusion Comm bfb232d74a50

[native] Consider BottomSheetHandle size when setting snapPoints

Description

[native] Consider BottomSheetHandle size when setting snapPoints

Summary: The height of BottomSheetHandle is always the same, and we should take it into account when setting snapPoints. More context here.

Test Plan: In combination with the rest of the stack, I tested each individual use of our BottomSheet component to make sure that the bottom padding was reasonable. In most cases it was unchanged; in other cases, it was changed to be more consistent with the other BottomSheets in our codebase. In all cases, there was enough padding for the "home pill" at the bottom of the screen

Reviewers: bartek

Reviewed By: bartek

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13867

Details

Provenance
ashoatAuthored on Nov 4 2024, 1:40 PM
Reviewer
bartek
Differential Revision
D13867: [native] Consider BottomSheetHandle size when setting snapPoints
Parents
rCOMM429c59416e23: [native] Fix QR code scanning on Android
Branches
Unknown
Tags
Unknown