Skip to content

Commit

Permalink
Merge branch 'master' into nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
netil committed Aug 15, 2024
2 parents 6749f36 + 5a2c4fd commit 9d63f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChartInternal/interactions/zoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default {
// https://bugs.webkit.org/show_bug.cgi?id=226683#c3
// https://stackoverflow.com/questions/67836886/wheel-event-is-not-fired-on-a-svg-group-element-in-safari
if (
window.GestureEvent && /^((?!chrome|android|mobile).)*safari/i.test(navigator.userAgent)
window.GestureEvent && /^((?!chrome|android|mobile).)*safari/i.test(window.navigator?.userAgent)
) {
svg.on("wheel", () => {});
}
Expand Down

0 comments on commit 9d63f08

Please sign in to comment.