react-native-actions-sheet
react-native-actions-sheet copied to clipboard
2 Actionsheets open and close at the same time Problem
So i have the problem, that when navigating to another Stackscreen which contains Actionsheets and then when opening one it looks normal, but when pulling it down or pressing on the Backdrop so it snaps down, it does it, but till the going down animation runs, in the background is a second Actionsheet that stays till the first one is full offscreen and then fades out. I dont know why this happens, when reloading the app it isnt there anymore. Has anyone had or has this problem? In the files below you see what i mean.
https://user-images.githubusercontent.com/101802060/215344720-ce1968e6-af56-4f79-92f7-15e88d72da40.MOV
This is probably happening because you have multiple sheet providers, one on each screen of the stack. You should instead use a single global provider at top of your app above the navigator.
so yes i have a sheetprovider on every screen, because on ios it is not working with one global sheetprovider above the navigation. But even when removing those sheetproviders and just having the one around navigation it has still the same problem
I am experiencing the same issue.
A single global SheetProvider does not work as expected on iOS. I think the sheets are hidden below the navigation stack, somehow. It works if there is only one item in the stack (initial view).
Amazing library though!