You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ngTouch): remove ngClick override, $touchProvider and $touch.
Closesangular#15761Closesangular#15755
BREAKING CHANGE:
The `ngClick` directive from the ngTouch module has been removed, and with the also the
corresponding $touchProvider and $touch service.
If you have included ngTouch in your application with version 1.5.0 or higher, and have not
changed the value of $touchProvider.ngClickOverrideEnabled()`, or injected and used the $touch
service, then there are no migration steps for your code. Otherwise you must remove references to
the provider and service.
The `ngClick` override directive had been deprecated and by default disabled since v1.5.0,
because of buggy behavior in edge cases, and a general trend to avoid special touch based
overrides of click events. In modern browsers, it should not be necessary to use a touch override
library:
- Chrome and Firefox for Android remove the 300ms delay when the well-known
`<meta name="viewport" content="width=device-width">` is set.
- Internet Explorer, Edge, and Chrome remove the delay when the `touch-action` css property is set
to `none` or `manipulation`.
- Since iOS 8, Safari removes the delay on so-called "slow taps".
You can find out more in this Telerik article:
http://developer.telerik.com/featured/300-ms-click-delay-ios-8/
0 commit comments