Page MenuHomePhabricator

[native] Consider BottomSheetHandle size when setting snapPoints
ClosedPublic

Authored by ashoat on Mon, Nov 4, 1:53 PM.
Tags
None
Referenced Files
F3404031: D13867.id45639.diff
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)
Thu, Nov 21, 10:15 AM
Unknown Object (File)
Thu, Nov 21, 5:56 AM
Unknown Object (File)
Thu, Nov 21, 3:05 AM
Unknown Object (File)
Wed, Nov 20, 12:34 PM
Unknown Object (File)
Tue, Nov 19, 8:46 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