Skip to content

Add dummy 'wheel' event handler to enable scroll zoom on safari #7474

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

emilykl
Copy link
Contributor

@emilykl emilykl commented Jul 17, 2025

Closes #7452

@emilykl emilykl force-pushed the safari-scroll-zoom branch from 68f04da to 06c3e7f Compare July 17, 2025 21:07
@emilykl emilykl force-pushed the safari-scroll-zoom branch from 8370097 to e6618c6 Compare July 17, 2025 22:51
@gvwilson gvwilson added P1 needed for current cycle fix fixes something broken labels Jul 18, 2025
Copy link
Contributor

@archmoj archmoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update.
Please add a draft log.
💃

Comment on lines +68 to +70
if(typeof plotObj.addEventListener === 'function') {
plotObj.addEventListener("wheel", () => {});
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the if block necessary? Can plotObj be undefined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix fixes something broken P1 needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scroll zoom doesn't work in safari
4 participants