Description
Description
After upgrading @gluestack-ui/modal from version 0.1.35 to 0.1.41, modals are no longer opening on iOS. They work perfectly fine on Android and also on iOS when using version 0.1.35.
CodeSandbox/Snack link
I attempted to reproduce the issue using Snack, but unfortunately, @gluestack-ui/modal cannot be tested reliably there due to platform limitations. Snack runs in an Expo environment, and the native behavior of the modal (especially on iOS) does not function as expected in that context.
Steps to reproduce
- Install @gluestack-ui/[email protected]
- Trigger a modal that previously worked
- Run the app on iOS simulator or real device.
- Observe that nothing is rendered
gluestack-ui Version
V2
Platform
- Expo
- React Native CLI
- Next
- Web
- Android
- iOS
Other Platform
No response
Additional Information
After updating to @gluestack-ui/[email protected], modals stopped rendering only on iOS. No errors are thrown, and the issue is reproducible across both simulator and real devices. Rolling back to version 0.1.35 fixes the problem. The same implementation continues to work on Android without issues.