Skip to content

Tooltip gets stuck after long press (~3 seconds) on touch screen in WinUI 3 #11031

@thuandev2706

Description

@thuandev2706

Describe the bug

When using a touch-enabled device, performing a long press (approximately 3 seconds) on a UI element that has a Tooltip causes the Tooltip to appear but never dismiss afterward.

Why is this important?

This behavior leads to a poor user experience on touch devices, as the Tooltip blocks UI interaction and cannot be dismissed without additional workarounds.

Steps to reproduce the bug

  1. Create a WinUI 3 application and run on a touch-enabled device.
    (already has attached a Tooltip to any interactive element (e.g., Button))
  2. Press and hold (long press) on the element for ~3 seconds.
  3. Release the touch.

Actual behavior

The Tooltip appears after the long press but remains stuck on the screen indefinitely. It does not disappear even after releasing the touch.

Expected behavior

The Tooltip should appear on long press and then automatically dismiss when the touch interaction ends or when focus changes.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.8.5: 1.8.260209005

Windows version

Windows 11 (23H2): Build 22631

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions