Issue with adding new Item dynamically in vue-responsive-dash

204 Views Asked by At

I'm working with vue-responsive-dash library to display responsive tiles in a grid though I'm having an issue while adding a new item by clicking a button. It works fine if I don't resize the item. After spending a few hours I figured out the placeholder item places itself just after the first item.

You can reproduce issue here: https://codesandbox.io/s/vue-responsive-dash-wbgs8

Steps:

  1. Click "Add" button and add first item.
  2. Resize the added item.
  3. Click "Add" button to add another item.
  4. See the space between first and second item.**

Is there something I can do to remove this space?

0

There are 0 best solutions below