[ BUG ] Alert Dialog crashing on web, but not native
Describe the bug
I think I am experiencing the same issue as mentioned here https://github.com/mrzachnugent/react-native-reusables/issues/140. I notice the Dialog component is working on both native and web and I suspect this might have to do with the explicit use of {children} rather than a spread on {...props}, but I can't figure out what would cause the Alert Dialog to crash on web only given I see it works on the showcase app.
To Reproduce Steps to reproduce the behavior:
-
npx expo start -c - Go to the web version
- Click on "Show Alert Dialog"
- See error
Expected behavior I'd expect it to work on both native and web.
Screenshots
Platform (please complete the following information):
- Type: Browser
- OS: [e.g. iOS] Mac OS 15.3
- Browser (if applies) [e.g. chrome, safari] Chrome
Additional context https://github.com/rachelslurs/rnr-alert-bug Deployed to github pages: https://rachelslurs.github.io/rnr-alert-bug/