Mousedown mousemove, but mouseup won't trigger.

here"s the thing. I want to implement a slider effect in ant, listening for mouse movement
origin in container, listening for down and up on the origin, but up won"t trigger after moving. Do you have the same problem? how did you solve it

?
Mar.10,2021

mousedown triggered when the mouse button is pressed;
mouseup is triggered after the mouse button is released;
mousemove is triggered when the mouse button is released.

the mouseup, will only be triggered after the mouse is released. What is your so-called case that it will not be triggered?


the mouse up is no longer on the previously bound element, is it


mousemove event to block the default behavior: e.preventDefault ()

Menu