c3js / c3js/c3

Enabling zoom really mucks with scrolling in Safari; any way to require a meta key for zoom?

Open
#2,784 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Since macOS uses the scroll wheel to scroll, as soon as a chart scrolls under the pointer, it begins to zoom; if a zoom limit is hit, it starts to scroll again.

It would be great if there was a way to disable scroll-wheel zoom unless a meta key was held down. Is that possible?

* **C3 version**: 0.7.15
* **D3 version**: 5
* **Browser**: Safari 13.1 (15609.1.20.111.8)
* **OS**: macOS 10.15.4 (19E287)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.