Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onClick not working in Ionic IOS #72

Open
rklerck opened this issue Feb 8, 2018 · 4 comments
Open

onClick not working in Ionic IOS #72

rklerck opened this issue Feb 8, 2018 · 4 comments

Comments

@rklerck
Copy link

rklerck commented Feb 8, 2018

I tried using the zpd plugin in our Ionic 3 app. The panning/zooming works great on both the browser and device. The onClick event fires in the browser, but not when running on a real device (IOS). It does fire without using zpd(). Any ideas?

@tikiatua
Copy link
Collaborator

tikiatua commented Feb 8, 2018

Hi @rklerck,

Unfortunately we never got around to include mobile/touch support for the library.

Click events on mobile devices are somewhat special, since this is actually a touch event that will then be translated into a click event – a reason that googles fastclick library is often used to avoid a respective 300ms latency for click events.

@rklerck
Copy link
Author

rklerck commented Feb 8, 2018

So there's no workaround yet?

@tikiatua
Copy link
Collaborator

tikiatua commented Feb 8, 2018

Well, zooming and panning should work. Maybe you could try to add an additional onTouch event handler.

@hueitan
Copy link
Owner

hueitan commented Feb 13, 2018

💪 any contribution support is needed here! Check #1 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants