Opened 6 years ago

Closed 6 years ago

#8103 closed bug (fixed)

Sortable: cursorAt Documentation in error

Reported by: gruber76 Owned by: gruber76
Priority: minor Milestone: 1.8.18
Component: [meta] ui.docs Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:

Description

http://jqueryui.com/demos/sortable/#option-cursorAt

Documentation does not reflect current version. Actual functionality appears to match Draggable's cursorAt: http://jqueryui.com/demos/draggable/#option-cursorAt

Change History (3)

comment:1 Changed 6 years ago by rdworth

Owner: set to gruber76
Status: newpending

How so? Sortable cursorAt says

Moves the sorting element or helper so the cursor always appears to drag from the same position. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }.

Draggable cursorAt says

Sets the offset of the dragging helper relative to the mouse cursor. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }.

To me, that's two different ways of saying exactly the same thing.

comment:2 Changed 6 years ago by gruber76

Status: pendingnew

You are correct, sorry for the confusion on my part. The Code Example, however, is incorrect and reflects the passing of a string rather than an object.

comment:3 Changed 6 years ago by rdworth

Milestone: 1.91.8.18
Resolution: fixed
Status: newclosed

Thanks. Fixed at http://docs.jquery.com/UI/API/1.8/Sortable#option-cursorAt . Will update on jqueryui.com/demos once 1.8.18 goes live

Note: See TracTickets for help on using tickets.