Skip to content

Modal not opening after updating @gluestack-ui/modal from v0.1.35 to v0.1.41 #2906

Open
@ShnAhmad

Description

@ShnAhmad

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

  1. Install @gluestack-ui/[email protected]
  2. Trigger a modal that previously worked
  3. Run the app on iOS simulator or real device.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions