In the fiddle, if I start dragging the div, then keeping the mousedown go to the over CSS box, leave the mouse (mouseup) and then come back to the orange div, the scroller follows the mouse.
It is not detecting the mouseup event. How can I force it?
In the fiddle, if I start dragging the div, then keeping the mousedown go to the over CSS box, leave the mouse (mouseup) and then come back to the orange div, the scroller follows the mouse.
It is not detecting the mouseup event. How can I force it?
That's because that div has a pointer-events: none; property.
The CSS property
pointer-eventsallows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events.