Multitouch (two or more 'fingers') during pan creates flickering effect
See original GitHub issueBug report
Expected behaviour
When multitouch is performed, the expected behaviour is that only the first ‘finger’ is used for panning. All other touches are ignored. The panning is smooth and creates not flickering effect (switching very quickly between two or more pannings).
Actual behaviour
When multitouch is performed, the actual behaviour is that all touches are processed and a panning for each touch is performed very quickly behind each other. This creates a flickering effect (switching very quickly between two or more pannings).
Steps to reproduce the behaviour
- Open any demo where panning is allowed on a device that supports touch events
- Pan an svg-element with two fingers
Configuration
- svg-pan-zoom version:
The latest version from github
- Browser(s):
all
- Operating system(s):
all
Feature Request
- Add an option to disable multitouch
- Default behaviour should not be affected. So standard multitouch is enabled but an option to disable it would be super.
- No, as the default behaviour is not affected
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Multitouch (two or more 'fingers') during pan creates flickering ...
When multitouch is performed, the actual behaviour is that all touches are processed and a panning for each touch is performed very quickly...
Read more >How do multi-touch gestures in iOS behave if more than 2 ...
Looking at Photos app on iPad I see that photos react on first two touches only. And if you press one finger, press...
Read more >Multi-Touch trackpad gestures in Final Cut Pro - Apple Support
Double -tap (two-finger): Double-tap with two fingers to zoom the timeline so that all the clips fill the visible part of the timeline....
Read more >US5825352A - Multiple fingers contact sensing method for ...
Method and apparatus for detecting an operative coupling between one or more fingers or other appropriate objects and a touch pad includes processes...
Read more >Determining the benefits of direct-touch, bimanual, and ...
Bimanual interaction, using at least two fingers, one on each hand, accounts for the remaining reduction in selection time. Further, we find ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @bumbu ,
First of all thanks for making this awesome library and second thanks for helping me fix the bug! I really appreciate it. Keep up the good work!
Cheers, Koen.
Hi @KoenkookpotPlasmans,
You’re changes are now in master. You can see that I closed that PR as I had so separate source code changes and build into separate commits.
I also published a new version on npm. I added you to the list of contributors, but if you don’t want to be there, let me know or create a PR with that line removed.
Thank you for all your time and effort!