Bug Tracker

Modify

Ticket #8462 (closed bug: worksforme)

Opened 2 years ago

Last modified 2 years ago

draggable with clone won't work after first drop

Reported by: fiomtec@… Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5
Keywords: Cc:
Blocking: Blocked by:

Description

Pulled my hair for a couple of hours trying to fix this.

I have a completely normal div to which I apply

$("#theDiv").draggable({ "helper": "clone", "revert": "invalid", "zIndex": 5000 });

After the first drop, be it on a droppable or in an invalid place, the div won't be draggable again.

This happens with jQuery 1.5. I exchanged it with a 1.4.2 jQuery and it works perfectly.

I'm seeing in the combo that there's a new 1.5.1 version. I'll give it a try with that.

Change History

comment:1 Changed 2 years ago by fiomtec@…

Ok, it works perfectly with 1.5.1 as well.

Sorry!. You can close this ticket now.

comment:2 Changed 2 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.