bug: Deprecated warning on Chrome
Type: bug
Platform: desktop browser
Occasionally I see this warning on Chrome Version 45.0.2454.46 beta (64-bit) running on OSX 10.10.4.
'Touch.webkitRadiusX' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusX' instead. ionic.bundle.js:1162
+1
Additionally i see:
SVG's SMIL animations (
+1
That is now in chrome
This completely disables to propagation of click events on Google Maps when developing in the browser, using the app on a physical Android device, and iOS emulator. In short, it completely breaks my app.
Do you have an example of where I can see this? The SMIL animations we know about, but the webkitRadius is new to me.
Interestingly, the app works expectedly in Safari. It is working correctly in a coworker's Chrome.
For me, it works in Chrome, but only when I'm not emulating a device. Flow in video below (for some reason the GIF conversion really slowed stuff down):
ionic serve(Chrome), app opens with console but no device emulation.- Marker is clickable. Refresh screen.
- Click different marker. Clickable.
- Start emulating iPhone 6 using Dev Tools.
- Refresh page. Click marker, not clickable.
- Click second marker, not clickable
- Emulate Android. Refresh. Marker still not clickable.

Is this happening when on an actual device?
Yes, on Android. Haven't tested on iOS device yet. Works fine in Xcode. Standby though, I'm searching through commits to rule out my user error (probable).
Can you provide a minimal example that demos the problem
Found the issue rolling back through commits. This started when I included angular-material to add some styling. Found the soluton in their issues:
app = angular.module('MyApp', ['ngMaterial'])
.config(function( $mdGestureProvider ) {
$mdGestureProvider.skipClickHijack();
});
Thanks for your attentiveness @mhartington! You're a class-act!
Thanks for the nice words :grin:
So just to be clear, your issue was with angular material? Not with ionic?
I don't use angular material. I only use ionic. Let me prepare an example that you can look at
Tested in Chrome with Developer Tools
- https://brilliant-inferno-1044.firebaseapp.com/
- Login using [email protected] / 123
- You will land on the Accounts screen, tap on the white area On the console, you will see the warning:
SVG's SMIL animations (
I can confirm we just started getting this about 2-3 days ago for some reason. The app seems to be working fine but the error came out of nowhere. We hadn't updated the framework or anything.
Alright, so we can confirm this issue. Thanks for letting us know all.
Hi,
it seems you can have this warning with the sidemenu starter template, when you open the side menu the first time in chrome desktop (I haven't tried on a mobile device). Chrome was recently updated, I guess that's one of the changes, adding a deprecation warning.
ionic.bundle.js:1162 'Touch.webkitRadiusX' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusX' instead.
ionic.bundle.js:1162 'Touch.webkitRadiusY' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.radiusY' instead.
ionic.bundle.js:1162 'Touch.webkitRotationAngle' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.rotationAngle' instead.
ionic.bundle.js:1162 'Touch.webkitForce' is deprecated and will be removed in M47, around November 2015. Please use 'Touch.force' instead.
EDIT: I have seen other warnings in other circumstances, but I don't remember which ones. I guess the set of deprecated webkit properties is much larger, and this is just an easy-to-find sample.
EDIT 2: I reread the above messages, and I remember one of the other messages I got in my app was: SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.
EDIT 3: I also got the following:
ionic.bundle.js:1162 'webkitMovementX' is deprecated. Please use 'movementX' instead.
ionic.bundle.js:1162 'webkitMovementY' is deprecated. Please use 'movementY' instead.
And this one, but maybe unrelated to this topic:
Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
I am getting this same issue and out of no where. My log is reading:
ionic.bundle.js:12005
SVG's SMIL animations (
and then:
ionic.bundle.js:21157 Error: permission_denied: Client doesn't have permission to access the desired data. at Error (native) at b.G (http://localhost:8100/js/firebase-web.js:121:36) at Object.G (http://localhost:8100/js/firebase-web.js:202:386) at http://localhost:8100/js/firebase-web.js:187:502 at Ch.g.Id (http://localhost:8100/js/firebase-web.js:192:104) at qh.Id (http://localhost:8100/js/firebase-web.js:183:364) at ih.qh.Fa.Bh.t as xg at lh (http://localhost:8100/js/firebase-web.js:175:464) at WebSocket.ih.open.b.ua.onmessage (http://localhost:8100/js/firebase-web.js:174:245)(anonymous function) @ ionic.bundle.js:21157 FirebaseArray.$$error @ angularfire.js:414 (anonymous function) @ angularfire.js:701 (anonymous function) @ angularfire.js:1897 parent.$get.Scope.$eval @ ionic.bundle.js:24673 parent.$get.Scope.$digest @ ionic.bundle.js:24484 (anonymous function) @ ionic.bundle.js:24712 completeOutstandingRequest @ ionic.bundle.js:14221 (anonymous function) @ ionic.bundle.js:14493
I am going through and checking to confirm that this isn't a user error, however, I haven't changed anything with firebase-web.js nor have I touched ionic.bundle.js in any way
Yes, we can confirm this too. No need to provide more info, we know where the issue is. Will get to this.
We are seeing this issue too and keen to get the fix as soon as its available. (Seems like an unfair derecation warning, not giving people much time!)
Thanks

Ionic should tight with Modernizr imho