Skip to main content

Search and Top Navigation

#9188 closed bug (duplicate)

Opened March 27, 2013 10:48AM UTC

Closed October 20, 2013 07:42PM UTC

Draggable: Position in stop event is incorrectly with constrained draggables

Reported by: s512 Owned by:
Priority: minor Milestone: none
Component: ui.draggable Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/6X5nR/1/

Move the box in the example above and the input boxes are updated with position values. The box is set to be draggable on y axis only, but attempt to drag box to the right and the left value is updated despite the box not being able to move.

Attachments (0)
Change History (2)

Changed March 27, 2013 12:16PM UTC by tj.vantoll comment:1

status: newopen
summary: Position in stop event is not updated according to element movementDraggable: Position in stop event is incorrectly with constrained draggables

Confirmed: http://jsfiddle.net/tj_vantoll/h8nRw/.

Looks like the its returning the mouse's position and the docs indicate it should be returning the "current CSS position of the helper" (http://api.jqueryui.com/draggable/#event-stop).

Changed October 20, 2013 07:42PM UTC by mikesherov comment:2

resolution: → duplicate
status: openclosed

Duplicate of #7251.