Search and Top Navigation
#4824 closed bug (fixed)
Opened September 01, 2009 10:14AM UTC
Closed February 14, 2010 05:09AM UTC
draggable broken on inline elements in webkit browsers
| Reported by: | sebbacon | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.8 |
| Component: | ui.draggable | Version: | 1.7.2 |
| Keywords: | safari chrome drag webkit | Cc: | |
| Blocked by: | Blocking: |
Description
On inline elements in Chrome and Safari, the element is moved across the page at about twice the speed of the drag event. Example:
<script type="text/javascript">
$(function() {
$(".draggable").draggable();
});
</script>
<span class="draggable" class="ui-widget-content">
I move at twice the speed of the drag
</span>
<div class="draggable" class="ui-widget-content">
I work correctly
</div>
Attachments (0)
Change History (5)
Changed November 17, 2009 12:21PM UTC by comment:1
| milestone: | TBD → 1.8 |
|---|
Changed January 27, 2010 10:44AM UTC by comment:2
| priority: | minor → critical |
|---|
Changed February 01, 2010 09:00PM UTC by comment:3
This bug produces not just double-speed dragging, but weird trailing effects in the current release version of Safari, but not Chrome. It's specifically display:inline that causes it.
See: http://sancus.off.net/safari_test.html (drag downwards)
Changed February 14, 2010 04:59AM UTC by comment:4
This problem doesn't exist if the element is absolutely positioned.
Changed February 14, 2010 05:09AM UTC by comment:5
| resolution: | → fixed |
|---|---|
| status: | new → closed |
Fixed in r3798.
Wow, thats weird. There seem to be a lot of those with the latest Safari and Chrome version. Go Webkit, go...