Opened 12 years ago

Closed 12 years ago

#2937 closed bug (fixed)

dragging with handles that have child elements does not work

Reported by: tmm1 Owned by: paul
Priority: major Milestone: 1.5
Component: ui.draggable Version: 1.5rc1
Keywords: Cc:
Blocked by: Blocking:

Description

if the mousedown event to start a drag is on a sub-element inside the handle, the drag does not work.

in my use-case, i have a span inside the div handle that contains some text describing the draggable object.

Change History (3)

comment:1 Changed 12 years ago by jg

I have the same problem, here's my html-code

<div class="product">						
	<div class="dragHandle">Drag</div>
	<div class="picture">
		<a href="#"><img height="170" title="" alt="" src="test"/></a>
	</div>
	<div class="title"><a href="#">Product</a></div>
	<div class="price">8.99 €</div>
</div>

comment:2 Changed 12 years ago by paul

Status: newaccepted

comment:3 Changed 12 years ago by paul

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.