ngx-color
ngx-color copied to clipboard
Color Pointer Control movement persistance
When using any Color Component that has a pointer picker, such as chrome or photoshop, after a mouse click, the pointer keeps following the cursor indefinitely. This is only happening to me on desktop. I tried to provide no settings to the color component to make sure it wasn't something wrong I'm supplying but it still occurred.
Any ideas what could be going wrong?
Angular Version: 10.0.8 Ngx-color Version: 6.1.0
does it happen on the demo? No idea
It does not. I tried moving into the main component of the app thought maybe some other feature could be causing the issue but it still happened. Either I have some global style/configuration that's messing it up or I don't know
Hello,
Any updates on this ? Still having this issue on various versions (3.x, 6.x, 8.x). When debugging this method
mousemove($event, x, y, isTouch = false) {
if (this.mouseListening) {
$event.preventDefault();
this.mousechange.next({ $event, x, y, isTouch });
}
}
it fires indefinitely on the desktop, this.mouseListening is always true. I created a test (empty) app and found no issue. It may override some configs/styles, anyway would be great to force the method above to fire once at a time.
Here's one more thing, on mobile sometimes getting this issue [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/feature/5093566007214080 ngx-color.js:125
Thanks.