Opened 11 years ago

Closed 4 years ago

#8423 closed defect (patchwelcome)

DnD: contrained moveables lose constraints in fluid layout

Reported by: dante Owned by: Eugene Lazutkin
Priority: high Milestone: 1.13
Component: DnD Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

If a *constrainedMoveable is a part of a fluid layout, and that layout changes, the position of the parent acting as the constraints is no longer matched to the constraints calculation.

In discussion with eugene, this seems more of a bug that can be solved by verifying the marginBox on drag start, though this seems an edge case in which being able to tell the mover instance to recalculate it's margins would work just as well. (in a fluid layout, you are likely already tying something in to window.resize) but either way will work.

reproducable in the cropper/ demo in the demos/ repo, only affects FF3. Resize the window horizontally larger or smaller, and the bounding box is "off" by the delta of the resize. Safari, IE6+7 all reposition the bounding box properly somehow. maybe just be a css issue.

Change History (2)

comment:1 Changed 11 years ago by Eugene Lazutkin

Milestone: tbdfuture

Moving open tickets to the future.

comment:2 Changed 4 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.