HomePhabricator
Diffusion Comm b272611288b5

[native] introduce BottomSheetProvider

Description

[native] introduce BottomSheetProvider

Summary:
To make the snap point of the bottom sheet dynamic and based off the height of the content shown on the bottom sheet, we need to measure and keep track of the height of the bottom sheet content. This diff introduces a BottomSheet provider with a single piece of state (at least for now) to keep track of this height of the bottom sheet content across multiple different components

Depends on D9271

Test Plan: flow and confirmed that I was able to grab the context values in the bottom sheet related components

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek

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

Details

Provenance
ginsuAuthored on Sep 29 2023, 1:27 PM
Reviewer
atul
Differential Revision
D9272: [native] introduce BottomSheetProvider
Parents
rCOMM588581374141: [native] improve organization of user profiles work
Branches
Unknown
Tags
Unknown