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

Always use passive events for hover #2923

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Conversation

mattgperry
Copy link
Collaborator

For BC reasons we checked for external onHoverStart or onHoverEnd event listeners before setting passive: false, but at some point we called these behind a frame.postRender defer anyway, in effect making these always passive. So this PR ensures passive: true is always set.

@mattgperry mattgperry merged commit a1bec5a into main Dec 4, 2024
4 checks passed
@mattgperry mattgperry deleted the fix/always-use-passive-events branch December 4, 2024 13:04
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