Skip to content

Bug: Alert button in dialog snap not functioning properly #3241

@hjetpoluru

Description

@hjetpoluru

When installing the dialog snap from the test-snaps page and pressing the alert button, the expected alert does not appear and the app crashes.

Build used - https://app.bitrise.io/app/be69d4368ee7e86d/installable-artifacts/19638d28f6346dd1
Device used - Samsung Galaxy Z fold

### Steps to Reproduce

  1. Upload the latest build generated from the feature branch using the Flask build.
  2. Log in to the Flask app with the correct credentials.
  3. Open a web browser and navigate to https://metamask.github.io/snaps/test-snaps/latest/.
  4. Install the dialog snap, press the alert button, and observe the results.

### Excepted Result
Alert should appear

### Actual Result
Alert does not appear and the app is crash as per the video attached.

### Attachements

Screen.Recording.2025-02-20.at.1.14.54.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions