Skip to content

[ BUG ] Alert Dialog crashing on web, but not native #342

@rachelslurs

Description

@rachelslurs

Describe the bug
I think I am experiencing the same issue as mentioned here #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:

  1. npx expo start -c
  2. Go to the web version
  3. Click on "Show Alert Dialog"
  4. See error

Expected behavior
I'd expect it to work on both native and web.

Screenshots

Image

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/

Activity

AbanoubNassem

AbanoubNassem commented on Jun 28, 2025

@AbanoubNassem

did you figure a work around ?

mrzachnugent

mrzachnugent commented on Aug 22, 2025

@mrzachnugent
Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @rachelslurs@AbanoubNassem@mrzachnugent

        Issue actions

          [ BUG ] Alert Dialog crashing on web, but not native · Issue #342 · founded-labs/react-native-reusables