chartjs / chartjs/chartjs-plugin-zoom

Zooming in breaks scrolling on mobile device

Open
#791 0 comments 1 reaction 0 assignees View on GitHub
bug hammer
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.