diff --git a/src/core/RecyclerListView.tsx b/src/core/RecyclerListView.tsx index 1b8a6d27..9a337137 100644 --- a/src/core/RecyclerListView.tsx +++ b/src/core/RecyclerListView.tsx @@ -717,7 +717,8 @@ export default class RecyclerListView
{
if (this.props.layoutProvider && this._layoutManagerRef) {
if (this.props.layoutProvider.getLayoutManager() !== this._layoutManagerRef) {
this._layoutManagerRef = this.props.layoutProvider.getLayoutManager();
- const oldDim = {...this._dim};
- setTimeout(() => {
- this._forceSizeUpdate(oldDim);
- }, 32);
+ this._scheduleForceSizeUpdateTimer();
}
}
}
@@ -93,6 +90,18 @@ export default class ViewRenderer extends BaseViewRenderer