Page MenuHomePhabricator

[native] Consider BottomSheetHandle size when setting snapPoints
ClosedPublic

Authored by ashoat on Nov 4 2024, 1:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 6:59 PM
Unknown Object (File)
Tue, Dec 3, 6:01 AM
Unknown Object (File)
Sat, Nov 30, 12:55 PM
Unknown Object (File)
Tue, Nov 26, 6:42 AM
Unknown Object (File)
Nov 21 2024, 10:15 AM
Unknown Object (File)
Nov 21 2024, 5:56 AM
Unknown Object (File)
Nov 21 2024, 3:05 AM
Unknown Object (File)
Nov 20 2024, 12:34 PM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable