alyssaxuu / flowy

The minimal javascript library to create flowcharts ✨
MIT License
11.47k stars 998 forks source link

Blocks misaligned after snap #91

Closed fcnyp closed 4 years ago

fcnyp commented 4 years ago

Having a block snap alignment issue, arrows and blocks are misplaced after snap.

To recreate: 1.) Add root block to middle of page 2.) Add 2 children to root 3.) Add 5 or more grandchildren to each child leaving you with a root node and two columns that scroll Y 4.) Scroll to where root block is at the top of the page 5.) Move root block to the right dragging the whole tree over 6.) Click and hold the right child to the root, drag away then drag back to root and snap it back to root (expected behavior is no change) and arrows and blocks will be misaligned when snapping back

alyssaxuu commented 4 years ago

Hmm I'm not able to recreate this, it works fine for me. Are you using the latest version (there were several updates today fixing multiple issues)?

fcnyp commented 4 years ago

Latest update fixed. Thanks!