chartjs / chartjs/chartjs-plugin-zoom
Zooming in breaks scrolling on mobile device
- Dominant language
- JavaScript
- Stars
- 623
- Forks
- 331
- Avg merge
- 7h 5m
- Merged PRs (30d)
- 7
Description
I have a chart that i would like to zoom and pan in 'x' direction. When i zoom the page so only the chart is visible, any drag movement in 'y' is ignored, and any pinch movement zooms the chart, not the page. This leads to a situation where only the chart is visible, with no way to navigate back to the rest of the page.
(Chrome browser on Android 13)
Contributor guide
Research direction
Start by reproducing the issue on Chrome for Android 13 with a chart configured for x-direction zooming and panning, then inspect the plugin's touch gesture handling. Done means page scrolling remains possible when dragging vertically or pinching while the chart is zoomed, without breaking chart zoom and pan behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- chart.js, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100