react-native-actions-sheet
react-native-actions-sheet copied to clipboard
SheetManager.hideAll not working on 0.8.21
When I updated from version 0.8.10 to 0.8.21, SheetManager.hideAll() stopped working. Calling the function doesn't close the open sheets. Also tested in the 0.9.0-alpha.21, error persists.
Platform: Android React Native: 0.70.9
Same issue here
Bumping this. Still an issue 😟
I'm experiencing this on Android/iOS.
"react-native-actions-sheet": "0.9.3",
"react-native": "0.73.7",
"react-native-gesture-handler": "2.16.1",
"react-native-reanimated": "3.8.1"
When comparing the code of SheetManager.hide() and SheetManager.hideAll(), SheetManager.hideAll() is missing the isRegisteredWithSheetProvider logic. When using registerSheet(), prepending 'wrap_' to the id made SheetManager.hideAll() work in my case (v0.8.29) - I was desperate.