Opened 10 years ago

Last modified 6 years ago

#15322 new defect

Moveable "jumps" the first time you try and move — at Version 1

Reported by: david Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.15
Component: DnD Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by david)

When you use Moveable, in some setups the first time you move a node it "jumps" a little. The problem turns out to be that the body's margin and padding are being taken into account when they really don't need to be. (There's a long comment about how pageX/Y are computed, which may be out of date.)

Two possible fixes are attached. Actually, both fixes could probably be applied.

Change History (3)

Changed 10 years ago by david

Attachment: dnd.mover.option1.diff added

Changed 10 years ago by david

Attachment: dnd.mover.option2.diff added

comment:1 Changed 10 years ago by david

Description: modified (diff)
Note: See TracTickets for help on using tickets.