vue-smooth-dnd
vue-smooth-dnd copied to clipboard
Need ability to trigger resize
Initially when my tab loads the drag and drop functionality doesn't work until i either: resize the window manually or try to drag and drop (after first unsuccessful attempt it seems to reflow and work from there on out.)
Right now the fix is to dispatch a new resize event on the window.
window.dispatchEvent(new Event('resize'));
Thank you! I ran into this issue as well. It seems that the DragContainer can un-align itself somehow until a resize event, or a drag over the unaligned container, occurs.
+1