I stumbled upon this error when testing a website using this lib. All scrolling events are disabled
I believe the root cause of this is here:
@HostListener('document:touchmove', ['$event']) onTouchMove(event: any) { event.stopPropagation(); event.preventDefault(); if (this.moving && this.allowDrag) { this.moveTo(event.changedTouches[0].clientX, event.changedTouches[0].clientY); } }
Also worth noting, the use of Renderer is deprecated in favour of Renderer2
I stumbled upon this error when testing a website using this lib. All scrolling events are disabled I believe the root cause of this is here:
@HostListener('document:touchmove', ['$event']) onTouchMove(event: any) { event.stopPropagation(); event.preventDefault(); if (this.moving && this.allowDrag) { this.moveTo(event.changedTouches[0].clientX, event.changedTouches[0].clientY); } }
Also worth noting, the use of Renderer is deprecated in favour of Renderer2