Skip to main content

Search and Top Navigation

#6940 closed bug (worksforme)

Opened February 04, 2011 01:27PM UTC

Closed October 11, 2012 04:14PM UTC

Removing helper with link acting as link click in Chrome

Reported by: MiksIr Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.draggable Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description
<script>
$(function() {
  $( "ul li" ).draggable({ helper:"original", stop:function(event,ui) {
    ui.helper.remove();
  }});
});
</script>
<div style="width:100px;">
  <ul>
    <li><a href="http://www.google.com">google</a></li>
    <li><a href="http://www.google.com">google</a></li>
  </ul>
</div>

Test here http://jsbin.com/upilu4/3

Tested on 1.8.9 and current master.

No this bug in 1.8.0 (http://jsbin.com/upilu4/2)

Same trouble with droppable plugin if helper removed with ui.draggable.remove();

Attachments (0)
Change History (3)

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:1

milestone: 1.9.02.0.0

Changed October 11, 2012 03:45PM UTC by MiksIr comment:2

Tested today in last stable Chrome with last stable jquery ui - look like all work nice now.

Changed October 11, 2012 04:14PM UTC by scottgonzalez comment:3

resolution: → worksforme
status: newclosed

I actually can't reproduce this even with 1.8.9. Perhaps something changed in Chrome?