panning on browser with wheelzoom and mobile pan/zoom at same time
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 463
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
The wheel zoom plugin in zoom-wheel.html in demos is close to what I'm interested in achieving. It doesn't allow panning on desktop browser using dragging left/right.
If we make if (e.button==0) instead of if(e.button==1) it seems to work but I need to restrict the min/max from being breached so that only when zoomed in it will allow panning?
Any recommendations for that goal?
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to demos/zoom-wheel.html, lines 49-85; start there and compare the existing wheel-zoom behavior with the requested desktop dragging and mobile pan/zoom interaction. Done means panning works alongside zooming without breaching the min/max bounds when zoomed in.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100