Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

jquery is giving me touch delay and microinteraction delay in iOs application only. #9668

Closed
rahulgupta20nov opened this issue Sep 22, 2016 · 2 comments
Assignees

Comments

@rahulgupta20nov
Copy link

Hi Angular Material Team,

I am developing a ios iPad application in Angular-material. If I am not using jquery then there have no touch delay also have no micro-interaction delay(ripple effect). If I am using jquery lib before angular. then it gives problem in the application in touch and micro-interaction. So it is the as expected thing or there has any alternative to resolve this problem. Because I am using many libraries in my project.

@devversion
Copy link
Member

devversion commented Sep 22, 2016

Yeah it seems like Angular Material does not intercept into clicks if jQuery is loaded.

Quote from the source

In some scenarios on Mobile devices (without jQuery), the click events should NOT be hijacked.

mdGestureProvider is used to configure the Gesture module to ignore or skip click hijacking on mobile devices.

Here is the line, which includes the check for jQuery.


I'm actually not sure why we don't enable the click hijacking with jQuery, but anyways we are going to fix a bunch of issues with the HammerJS plans we have. #9362

@devversion
Copy link
Member

Closing this into #9362

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

No branches or pull requests

2 participants