angular-ui-tree icon indicating copy to clipboard operation
angular-ui-tree copied to clipboard

FIX:triggered touch and mouse events, if use ng-material

Open AlexTimofeyev opened this issue 7 years ago • 1 comments

Added variable "dragStartEventName" with 'touchstart' or 'mousedown' value, dependent on client. Fix this problem https://github.com/angular/material/issues/10662

AlexTimofeyev avatar May 19 '17 13:05 AlexTimofeyev

Thanks for your commit. Very helpful for me. There is only one issue that your code doesn't cover - laptop with touchscreen. They will works only if user use screen for dragging. I think better to check is this mobile/tablet device and after that set proper event.

artemkhalygov avatar Jul 10 '17 09:07 artemkhalygov