iScroll is not detecting mouseup
문제
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-events
allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events.
제휴하지 않습니다 StackOverflow