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.49k stars 121 forks source link

Two ActionSheet, unable to close normally #271

Open dppo opened 1 year ago

dppo commented 1 year ago

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 commented 1 year ago

react-native version is 0.71.3 and use new arch

dppo commented 1 year ago

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"}]

johnny-mcfadden-dailypay commented 1 year ago

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