ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.41k stars 119 forks source link

Position Tracking via useSheetRef in ActionSheet #351

Open Kreshnik opened 3 months ago

Kreshnik commented 3 months ago

I'm currently working with an ActionSheet in my application and exploring the functionalities offered by useSheetRef. My goal is to implement external position tracking, where I can monitor the ActionSheet's position (e.g., its current height or Y-offset) from outside the component itself. This feature is crucial for my application's UX, as I need to adjust other components based on the ActionSheet's position.

Question: