score:0

Solution is here: https://github.com/Flipkart/recyclerlistview/issues/449

Just add

  const [layoutProvider] = React.useState(
new LayoutProvider(
  (index) => 1,
  (type, dim) => {
    dim.width = ITEM_HEIGHT
    dim.height = ITEM_HEIGHT
  }
)

)

score:2

Just add the below line of code after your layoutProvider. The shouldRefreshWithAnchoring property of layoutProvider prevents recycler view list to not refresh the existing rows if more rows are added to the list.

layoutProvider.shouldRefreshWithAnchoring = false;

Related Query

More Query from same tag