Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let the pointer's pointerdown event propagate #2267

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Jan 3, 2025

Controlling this event is necessary because (internally) we only want to process it once, even when it's tied to several marks. This typically happens on the crosshair mark which uses the same shared pointer transform on its submarks, where not controlling this would result in an even number of flag toggling — when we just want one.

However for some applications the upstream app also wants to see that event.

In this PR, instead of preventing propagation, we ignore internal duplicate handling.

closes #2052

cc: @jheer

For more context see commit 8174cfa3 as part of PR #1527.

(this typically happens on the crosshair mark which uses the same shared pointer transform on its submarks)

closes #2052
@Fil Fil requested a review from mbostock January 3, 2025 14:13
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.

Pointer interaction interferes with external event handlers
1 participant