Mouse up not triggered if mouse down was triggered outside

Hi. I don’t understand if this is expected or not, but it looks like if the mouse down was outside canvas the mouse up is not triggered inside canvas. All good for mouse move. Please check this

I’m trying to create a drad and drop but with mousemove and mouse up instead of dragover and drop events.

This may be expected, let’s ask @PolygonalSun.

Yes, this behavior is expected. If we haven’t captured an initial mouse button down, we should ignore its respective up. I believe that you should be able to set up an event listener for a drop event and have that interact with your scene in the same way though.


Oki, I understood, thanks!