Opened 7 years ago

#14952 new bug

cursorAt in events is not immediately effective

Reported by: André Kremser Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:



The item cursor is not set correctly if you try to set the cursorAt options dynamically, for example, at the start, active, or drag event. When you try it a second time it works.



A workaround is to set the object manually.

var instance = $(this).sortable('instance'); = ui.item.width() / 2; = ui.item.height() / 2;

Change History (0)

Note: See TracTickets for help on using tickets.