mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
Drag start hid every list's "+ Add Card" composer link with display: none, collapsing its row: lists shrank, auto-height swimlanes shrank, and every swimlane below jumped up about one row (and back down on drop), moving the drop target under the cursor mid-drag. The root cause was proven by frame-diffing the issue's own GIF: the three largest frame discontinuities are exactly drag start and drop, showing the composer row vanish and the next swimlane header shift ~23px. The composer now hides with visibility: hidden, preserving its layout box; checked multi-selection cards keep display: none intentionally (the drag payload previews the post-drop list). Tests: tests/swimlaneDragJump.test.cjs (8, positive and negative, including a guard that flags any return of the layout-collapsing rule). Thanks to gerroon and xet7.