Opened 10 years ago

Closed 9 years ago

#10629 closed defect (fixed)

[patch] dojo.dnd.Moveable doesn't work on node with position "absolute"

Reported by: ID Owned by: Eugene Lazutkin
Priority: high Milestone: 1.5
Component: DnD Version: 1.4.0
Keywords: DnD Moveable Cc:
Blocked By: Blocking:

Description

When you create a dojo.dnd.Moveable on a node that has an absolute or relative position it won't be moveable.

See the attached file how to trigger this.

The patch check if the top or left style is defined if it isn't it will treat it like 0 and not NaN

Attachments (2)

test.html (656 bytes) - added by ID 10 years ago.
Testcase to trigger the bug
Mover.js.patch (863 bytes) - added by ID 10 years ago.
Patch to correct this

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by ID

Attachment: test.html added

Testcase to trigger the bug

Changed 10 years ago by ID

Attachment: Mover.js.patch added

Patch to correct this

comment:1 Changed 9 years ago by Eugene Lazutkin

Milestone: tbd1.5
Status: newassigned

comment:2 Changed 9 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [21723]) Fixing a special case for moving relative/absolute nodes without left/top offsets, thx ID!, !strict, fixes #10629.

Note: See TracTickets for help on using tickets.