StopPropagation() kills drag events

Discussion of features and help with problems encountered while using libRocket

StopPropagation() kills drag events

Postby aquawicket on Fri May 08, 2015 1:24 am

I have an issue were I need to StopPropagation() of an event. When I do a StopPropagation() on a mousedown event, I lose ability to drag the element.

I need to be able to detect a "mousedown" on an element, and stop further elements from processing the event, while allowing the dragstart of the element to still fire.

Is there a way to StopPropagation() of the mousedown, but still trigger the drag event?
Posts: 8
Joined: Fri Jun 27, 2014 6:07 am

Return to Using libRocket