question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multitouch (two or more 'fingers') during pan creates flickering effect

See original GitHub issue

Bug 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

  1. Open any demo where panning is allowed on a device that supports touch events
  2. 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:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Kookpotcommented, Jul 26, 2017

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.

0reactions
bumbucommented, Jul 26, 2017

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found