Skip to content

Content dialog is shown behind the TeachingTip when ShouldConstrainToRootBounds="False" #9397

Open

Description

Describe the bug

Imagine we have an app that when the user attempts to close displays a content dialog to confirm if the user really wanted to close the application and in turn lose the work.

In this application there is a teaching tip to help user understand the application little better.

When the user invoke the teaching tip and attempt to close the application after that.

  1. teaching tip is not dismissed even when light dismiss mode is set to true.
  2. the content dialog that is displayed is displayed, is shown behind the teaching tip.

Steps to reproduce the bug

  1. Click on a UI control to invoke a teaching tip (light dismiss mode enabled)
  2. Click on the app close button (it invokes a dialog box if the user wants to quit the application)
  3. Teaching tip is not dismissed
  4. The content dialog is shown behind the teaching tip, not allowing the use to close the application or read the message properly.

Expected behavior

  1. If the light dismiss mode is set, when user click the close/maximise button the teaching tip should be dismissed
  2. The content dialog should always be shown on top of the teaching tip.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000

Windows version

Windows 10 (21H2): Build 19044

Additional context

No response

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions