thechiselgroup / biomixer

BioMixer
http://bio-mixer.appspot.com/
16 stars 13 forks source link

Tour Step Resizing On Drag #548

Closed everbeek closed 9 years ago

everbeek commented 9 years ago

Tour steps appear to resize when they are dragged beyond some part of their starting position. I imagine it is because the parent is not being moved when we drag, but the visible children parts are.

The most amazing example of this is on the Layouts step. Drag it down, and see what happens!

everbeek commented 9 years ago

The ui-draggable-dragging class is added when I drag, and I can see in the debugger that it uses top positioning, but the tour steps start with bottom positioning sometimes (or always). If top is changed when bottom is not, bottom is left behind, and the rectangle can get stretched. The same goes for the left position being changed by the drag, with an implicit right position that is fixed in space...