react-native-actions-sheet icon indicating copy to clipboard operation
react-native-actions-sheet copied to clipboard

Two ActionSheet, unable to close normally

Open dppo opened this issue 2 years ago • 3 comments

use version 0.8.21

use SheetManager show one ActionSheet in the other one ActionSheet , the top ActionSheet can not use SheetManager.hide to hide

both ActionSheet Set isModal={false}

sheetStacks logs [{"context": "global", "id": "create_book"}, {"context": "$$-auto-create_book-global-provider", "id": "alert_view"}]

the alert_view use SheetManager.hide can not hide

only one create_book or alert_view can hide normally

dppo avatar Feb 16 '23 05:02 dppo

react-native version is 0.71.3 and use new arch

dppo avatar Feb 16 '23 05:02 dppo

when i set top ActionSheet context = 'global' , This problem seems to be solved But I don't know if there are other problems with this setting

new sheetStacks logs [{"context": "global", "id": "create_book"}, {"context": "global", "id": "alert_view"}]

dppo avatar Feb 16 '23 05:02 dppo

Seems like this issue can be closed now @ammarahm-ed