RoniPa

Results comments of RoniPa

This can also be repeated in the Chrome DevTools Device Mode

Seems that in Chrome Device Mode, in the $mdGestures provider, the touch pointercancel event with properties x and y as 0 is triggered on swipe end. In regular mode the...

I believe the issue might be in the missing pageX and pageY properties on the last returned touch event (pointercancel), because the swipe direction gets always calculated towards the upper...

I think I found a workaround for this. The issue seems to be that Chrome launches a pointercancel event when ever some browser default action is triggered. You can control...

Except it seems that unwanted swipe-left actions are still triggered, so pointercancel events should probably be ignored handled separately in the gestureEnd function (perhaps with touchcancel) as to my understanding...

@mustaqahmed Yep, I think you're right. I created a fork of my own where I handle pointercancel and touchcancel separately from other 'ending' events. When combined with touch-action CSS property...

@theLufenk A while back when this problem first appeared after Chrome enabled the new pointer api I [created a fork](https://github.com/angular/material/compare/master...RoniPa:master) because of this issue where i separate the handling of...

@theLufenk I can see your point and agree that for now that might actually be the solution that makes the most sense, as touch and mouse events aren't probably going...

I think both of these are related to this issue: #10145