microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.35k stars 677 forks source link

AnnotatedScrollBar's DetailLabel remains #10089

Open hyam1567 opened 1 week ago

hyam1567 commented 1 week ago

Describe the bug

If AnnotatedScrollBar is destroyed with DetailLabel displayed, the DetailLabel will remain.

Steps to reproduce the bug

This can be confirmed on the AnnotatedScrollBar page of the WinUI 3 Gallery app.

  1. Move the mouse over the AnnotatedScrollBar to display the DetailLabel.
  2. Press the Back button of mouse to change the page.
  3. The DetalLabel will remain.

Expected behavior

No response

Screenshots

Image Image

NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

HO-COOH commented 1 week ago

Duplicate of #9726