Skip to content

AlertModule::showAlert crashes in Xaml Islands #4194

Description

@htpiv

Environment

  • Target Platform Version(s): 10.0.18362
  • Target Device(s): Desktop
  • Visual Studio Version: Visual Studio 2019
  • Build Configuration: Release

Steps to Reproduce

  1. Open packages\playground\windows\playground-win32.sln
  2. Hit F5 (Build solution & start debugging)
  3. Press CTRL+O (File->Open)
  4. Select "Samples\rntester" & click "OK"
  5. Click on "<Button>\nSimple React Native button component"
  6. Click on the button labeled "Press Me"

Expected Behavior

A ContentDialog would pop up.

Actual Behavior

Playground Win32 crashes The problem appears to be related to Xaml Islands; the ContentDialog needs to be told what XamlRoot to use, but the AlertModule has no context to use to find a root.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions