#7316 closed bug (worksforme)
draggable clone doesn't work, without clone works fine
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | manipulation | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<script src="jquery-1.4.3.min.js"></script> <script src="jquery-ui.min.js"></script> <html> <head> </head> <body> </body> </html>
<script>
var icon = $("<div style='width:100px;height:100px;border-style:solid;'>");
icon.draggable({ drag:function(e,ui){}});
icon.clone(true).appendTo($("body"))
</script>
Change History (5)
comment:1 Changed 13 years ago by
Component: | unfiled → manipulation |
---|---|
Keywords: | needsreview added |
Priority: | undecided → low |
Status: | new → open |
comment:2 follow-up: 4 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | open → closed |
If you want a separate draggable, apply it to the clone:
comment:3 Changed 13 years ago by
Keywords: | needsreview removed |
---|
comment:4 Changed 12 years ago by
Replying to dmethvin:
If you want a separate draggable, apply it to the clone:
It doesn´t work with jquery 1.5 --with or without .clone( [ withDataAndEvents ], [ deepWithDataAndEvents ] )
http://jsfiddle.net/mfcwU/26/ http://jsfiddle.net/mfcwU/27/ http://jsfiddle.net/mfcwU/28/
Confirmed http://jsfiddle.net/rwaldron/mfcwU/2/
This needs to be reviewed further to determine if it's an issue with jQuery UI or with jQuery clone()