Places:Drag & Drop: Difference between revisions

Line 4: Line 4:
== Toolbar Drag & Drop Handling ==
== Toolbar Drag & Drop Handling ==


Toolbar handles drag&drop on its contained toolbarbuttons, while drag&drop on sub-menupopups (attached to menu type toolbarbuttons) is handled by their own handlers.
Toolbar handles drag & drop on its contained toolbarbuttons, while drag & drop on sub-menupopups (attached to menu type toolbarbuttons) is handled by their own handlers.


On <code>dragstart</code> event we special handle containers, we want to drag them only if the gesture is not toward down, since in such a case a container should open to allow for "click, down, release" behavior.
On <code>dragstart</code> event we special handle containers, we want to drag them only if the gesture is not toward down, since in such a case a container should open to allow for "click, down, release" behavior.
Confirmed users
595

edits