Skip to content

Slider ignores PointerPressed and PointerReleased events #10512

@ghost

Description

Describe the bug

For some reason both PointerPressed and PointerReleased events are not getting fired.

Schermopname.2025-04-16.195718.mp4

This might be due to the Thumb of the Slider.
Can't the Thumb get events for holding and dragging?
Or is there a way to add those events manually to the Slider without creating a custom Slider?

Steps to reproduce the bug

  1. Create a WinUI 3 package app
  2. Add a slider with both PointerPressed and PointerReleased events
  3. Set a breakpoint in both events
  4. Run the app with the debugger and click ok the slider

Expected behavior

Event should be fired and stopped at the breakpoint.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.7.1: 1.7.250401001

Windows version

Windows 11 (24H2): Build 26100

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

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions