After removeAll with autoPosition=true, adding new Item is not positioned at 0,0
Subject of the issue
I added a whole lot of grid items. I executed removeAll(true), which removed all grid items from the screen. Then I add some new grid items, but they are positioned well down the screen, after the last of the original removed items
Your environment
gridstack 1.0-dev branch chrome
Steps to reproduce
Add a number of items. Execute removeAll(true). Add a whole lot more items. Items appear way down the screen.
Expected behaviour
I believe after a removeAll, autopositioning should begin at the top again, 0,0.
Actual behaviour
I don't believe the autopositioning is being set back to 0,0 after removeAll.
I'd be happy with a work around. Is there a way to manually set autopositioning back to the top?
never mind, it turns out it was caused by my own array I wasn't clearing which I discovered when I was creating a plunker.