Skip to content

Commit

Permalink
fix: list bug (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: airou <[email protected]>
  • Loading branch information
hfffy and airou authored Mar 25, 2023
1 parent 0498bdc commit 20f8bd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/data-model/src/ListDimensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class ListDimensions<ItemT extends {} = {}> extends BaseDimensions {
}

this.updateInitialNumDueToListGroup(data);
this.updatePersistanceIndicesDueToListGroup(data);
if (!this._isActive) {
this._softData = data;
} else {
Expand Down
1 change: 1 addition & 0 deletions packages/data-model/src/ListGroupDimensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ class ListGroupDimensions<ItemT extends {} = {}> extends BaseLayout {
});

this.updateChildDimensionsOffsetInContainer();
this.calculateReflowItemsLength();
}

removeItem(key: string) {
Expand Down

0 comments on commit 20f8bd2

Please sign in to comment.