angular-ui-tree
angular-ui-tree copied to clipboard
FIX:triggered touch and mouse events, if use ng-material
Added variable "dragStartEventName" with 'touchstart' or 'mousedown' value, dependent on client. Fix this problem https://github.com/angular/material/issues/10662
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.