Will "mousedown" and "mousemove" change the cursor icon and how to prevent it?
I have a little sketch application. We can press down the mouse and paint something. When mousedown and mouseenter event happens to a cell, it change the color. But this combination is somehow similar to drag. Sometime this "little earth" icon appears, and then mouseup event will be swollen. Anyone knows where does this "little earth icon" come from? I've already set the cell.draggable = false. No drag event is fired. Here's my code to reproduce the bug. It's very rare, maybe 1/20 to 1/50 of chance. Click first the create canvas button than you can paint. /* create grids in canvas */ const ini
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.