Visitar URL original
pointer events: keep the click when a pointer event is cancelled by maurerdietmar · Pull Request #1532 · DioxusLabs/blitz · GitHub
Skip to content

pointer events: keep the click when a pointer event is cancelled - #1532

Open
maurerdietmar wants to merge 1 commit into
DioxusLabs:mainfrom
maurerdietmar:pointer-cancel-click
Open

maurerdietmar wants to merge 1 commit into
DioxusLabs:mainfrom
maurerdietmar:pointer-cancel-click

Conversation

@maurerdietmar

@maurerdietmar maurerdietmar commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Cancelling a pointer event took the whole default action away, the click among it. The pointer events spec only takes away the compatibility mouse events. Click, auxclick and contextmenu come from the activation behavior and fire either way. Pages rely on that when they cancel the pointer events they read gestures from.

Run the pointer up default action whatever a handler asked for. The mouse event beside it is still suppressed, as is everything a cancelled pointer down does, above all the focus move.

A gesture recognizer that cancels both pointer down and pointer up left every button inside it unclickable.

WPT results

No changes in test results compared to main.

Generated by the WPT workflow.

Cancelling a pointer event took the whole default action away, the
click among it. The pointer events spec only takes away the
compatibility mouse events. Click, auxclick and contextmenu come from
the activation behavior and fire either way. Pages rely on that when
they cancel the pointer events they read gestures from.

Run the pointer up default action whatever a handler asked for. The
mouse event beside it is still suppressed, as is everything a cancelled
pointer down does, above all the focus move.

A gesture recognizer that cancels both pointer down and pointer up
left every button inside it unclickable.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant