1

http://jsfiddle.net/zyVUU/

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?

Alvaro
  • 9,247
  • 8
  • 49
  • 76

1 Answers1

0

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.

Ram
  • 143,282
  • 16
  • 168
  • 197
  • Thanks, I was wondering this because of IE, and found this thread: http://stackoverflow.com/questions/5855135/css-pointer-events-property-alternative-for-ie – Alvaro Sep 03 '12 at 23:23
  • What would be the opposite of none in this case? – Alvaro Sep 03 '12 at 23:30