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

Action sheets not always displaying on top on iOS #358

Open jordanwegener opened 2 months ago

jordanwegener commented 2 months ago

I have a component which declares an action sheet and then passes its ref to a hook which I'm using to store action sheet refs so that they can be called up from any subsequent screen. This works fine on Android - get the ref from the hook, then call ref.current.show(). But on iOS the action sheet renders on top of the component that declared it but below the current screen. When calling show() nothing appears to happen, but doing nav.pop() reveals that the action sheet is on screen underneath the current screen but above its parent screen.

kthehatter commented 1 month ago

i'm having the same issue , importing the sheet on the page you are calling from fixed it for me on ios but when you check it on android it appears twice

angusryer commented 3 weeks ago

@jordanwegener did you find any solutions for your use-case?