gwinnem/vue-responsive-grid-layout

Layout update event is raised before update is finished

SamGeens opened this issue · 5 comments

Expected Behavior

Layout update event is raised when updating the layout finishes. Like said in the docs:

Every time the layout has finished updating and positions of all grid-items are recalculated

Current Behavior

The layout event is raised multiple times before updating the layout is finished

Failure Information (for bugs)

Layoutupdateevent.mp4

Steps to Reproduce

The behavior can be seen in this codesandbox.

Hi @SamGeens , tnxs for the feedback. Im on a 3 week holiday right now but I will start looking into the issues you have reported the 3rd week of october

Enjoy your holiday! I’m looking very much forward to version 1.2.3. In the meantime I’ll explore this library a bit further and post my findings and questions.

Hi Sam, this event is ment to fire every time the layout is recalculated.
I will introduce a new event which fires only when the final layout update is completed.
The above event will fire when a item is being dragged, dropped or resized.

I see, thanks!