Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1920 closed bug (fixed)

SlowMode on draggables may be wrong when cursorAtIgnore is on

Reported by: rbrackett Owned by: paul
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: slowMode Cc:
Blocked by: Blocking:

Description

If the drag handle of a draggable element is outside of the element's bounds (e.g. it is absolutely positioned to be above the element) and no cursorAt is set (so cursorAtIgnore is true), slowMode winds up getting set to false when it needs to be true.

More info at: http://groups.google.com/group/jquery-ui/browse_thread/thread/237e365430157c46/37cc1875d496b8ac

I have attached a patch in which I simply added a check for whether cursorAtIgnore is true, in which case slowMode must be true.

-Rob

Attachments (1)

slowModePatch.diff (1.1 KB) - added by rbrackett 16 years ago.
Fixed slowMode in ui.mouse.js for when drag handle is outside draggable's bounds

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by rbrackett

Attachment: slowModePatch.diff added

Fixed slowMode in ui.mouse.js for when drag handle is outside draggable's bounds

comment:1 Changed 16 years ago by paul

Owner: set to paul
Status: newassigned

comment:2 Changed 16 years ago by paul

Resolution: fixed
Status: assignedclosed

The slowMode option will be removed completely in the new rewritten code. Thanks anyway for providing your patch!

Note: See TracTickets for help on using tickets.