Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] UWP PopUp LightDissmis disable not working as expected #1712

@rxDietel

Description

@rxDietel

Description

When using a PopUp on UWP IsLightDismissEnabled = false won't disable lightdismiss, but only disable the propper reaction.

Steps to Reproduce

  1. Create Xamarin UWP App with PopUp
  2. Disable lightdismiss IsLightDismissEnabled = false
  3. Show Popup in App
  4. Click outside Popup

Expected Behavior

Popup won't close.

Actual Behavior

Popup will close, but following code in an async method will never continue.
var result = await Application.Current.MainPage.Navigation.ShowPopupAsync(popUp);

Basic Information

  • Version with issue: 1.3.0
  • Last known good version: -
  • IDE: VisualStudio 2019
  • Platform Target Frameworks:
    • UWP: 19041

Workaround

  1. don't disable lightdismiss
  2. add a specific returnvalue to GetLightdismissResult
  3. show your popup again if closed by lightdismiss

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. Breaky break.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions