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.42k stars 119 forks source link

Cannot close by pulling down by indicator when using ref #278

Open SikoraKam opened 1 year ago

SikoraKam commented 1 year ago

Bottom sheets rendered as normal component and showed by ref.current.show() are not draggable

ammarahm-ed commented 1 year ago

Set gestureEnabled={true}

darbymanning commented 1 year ago

I had a problem with this even with gestureEnabled. Turns out I was passing an id prop too which wasn't required when using the 'ref' approach. As soon as I stopped passing that prop, it seemed to work correctly.