Skip to content

PointerReleased event is not triggered during touch interaction in a UWP custom ContentControl. #10829

@GowthamabalajiSambathSF4978

Description

Describe the bug

The ManipulationMode.System doesn’t trigger the OnPointerReleased event during touch scrolling in the UWP platform.

Detailed explanation:
We use a custom ContentControl inside a custom panel, and there are multiple content controls within the panel. When performing a scrolling operation using touch interaction with ManipulationMode set to System, the OnPointerPressed, OnPointerEntered, and OnPointerMoved events are triggered, but the OnPointerReleased event is not. However, when we tap a single content control, the OnPointerReleased event is triggered as expected.
Additionally, we tried the AddHandler approach for the custom content control and observed that while scrolling the control using touch interaction, the OnPointerPressed event was triggered, but the OnPointerReleased event was not triggered on the UWP platform.
However, when tapping the custom content control, the OnPointerReleased event from both the AddHandler and the overridden method was triggered as expected.

Could anyone please suggest how we can reliably trigger the OnPointerReleased event during touch-based scrolling in a custom content control on the UWP platform?
Any suggestions to address this issue would be appreciated.

Simple Sample:

UWP_CustomSampleDemo.zip

Why is this important?

For example, we want to highlight a control on press and confirm selection on release for touch interactions. However, during touch scrolling, PointerPressed fires but PointerReleased never fires, breaking the expected selection flow.

Steps to reproduce the bug

  1. Run the sample.
  2. Select the manipulation mode as System using the ComboBox.
  3. Scroll the output UI using touch interaction.

Actual behavior

The PointerReleased event is not triggered for the custom control during touch scrolling.

Expected behavior

The PointerReleased event should be triggered for the custom control.

Screenshots

Note:
The output screen recording is attached as a ZIP file, due to video references cannot be included here.
All actions were performed using touch interactions, specifically by scrolling the control downward through touch.

CustomContentControl-Issue.zip

NuGet package version

None

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions