Search and Top Navigation
#6174 closed bug (fixed)
Opened October 12, 2010 08:23PM UTC
Closed October 13, 2010 05:34PM UTC
Last modified June 05, 2012 09:16PM UTC
Mouse: 1.4.3rc2 breaks interactions for some markup
Reported by: | squix | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.8.6 |
Component: | ui.mouse | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Bug in: 1.4.3rc2 / jQuery UI incompatibility
If you use helper: 'clone' option in draggable, you'll notice a strange behavior, first the draggable starts dragging with the mouse, then it stops then if you release the mouse the draggable still stays until you "click" it returns if you have the revert option.
Steps to reproduce, create a $(el).draggable with the following options:
addClasses: false,
appendTo: 'body',
scroll: false,
revert: 'invalid',
helper: 'clone',
cursor: 'pointer',
If you remove the helper:'clone' it works as normal!
Attachments (0)
Change History (9)
Changed October 13, 2010 12:49AM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
Changed October 13, 2010 04:00PM UTC by comment:2
resolution: | worksforme |
---|---|
status: | closed → reopened |
Replying to [comment:1 scott.gonzalez]:
Works for me in Chrome dev, Firefox 3.6, Safari 5, Opera 10.62, IE 6.
Investigated some more, turns out the issue is when the draggable is a "link". Only Chrome seems to be affected, works normally in mozilla.
So again, to reproduce: (Tested in Chrome 6)
<a class="mylink" href="javascript:void(0);">My title</a>
$('.mylink').draggable({
addClasses: false,
appendTo:'body',
revert:'invalid',
helper:'clone',
zIndex: 500
});
If you remove the helper:"clone" option it works as normal.
Again jQuery 1.4.2 does not have this issue so there seems to be something going on in Chrome, and jQuery 1.4.3rc1/2
Changed October 13, 2010 05:34PM UTC by comment:3
component: | ui.draggable → ui.mouse |
---|---|
milestone: | 1.next → 1.9 |
resolution: | → fixed |
status: | reopened → closed |
summary: | 1.4.3rc2 breaks draggable with "helper-clone" option → Mouse: 1.4.3rc2 breaks interactions on anchors |
Fixed in a829697.
Changed October 25, 2010 01:53PM UTC by comment:4
summary: | Mouse: 1.4.3rc2 breaks interactions on anchors → Mouse: 1.4.3rc2 breaks interactions for some markup |
---|
Changed October 25, 2010 06:52PM UTC by comment:5
milestone: | 1.9 → 1.8.6 |
---|
Works for me in Chrome dev, Firefox 3.6, Safari 5, Opera 10.62, IE 6.