try clear next item size when resizing so there is always one unsized item

This commit is contained in:
Bruno Windels 2019-01-10 14:05:00 +01:00
parent 1a2727f0af
commit a130c44803
3 changed files with 55 additions and 9 deletions

View file

@ -74,4 +74,8 @@ export default class ResizeItem {
callback(size, this.id, this.domNode);
}
}
clearSize() {
this.sizer.clearItemSize(this.domNode);
}
}