gwinnem/vue-responsive-grid-layout

Unexpected Behavior when dragging items.

Closed this issue · 1 comments

Expected Behavior

All items should be side be side when moving them to the position i expect

Current Behavior

When dragging the last item to its position the previous two items go to the second row

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.
unexpected_behaviour

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

latest version

Failure Logs

no console errors or warnings

It seems like this bug got introduced with my commit, regarding responsive behavior. I was not aware that when we move the items, the responsive layout function gets triggered that is returning the previous layout.
Need to find the correct spot to return the cached layout when resizing,