CollectionViewSelfSizing-Final icon indicating copy to clipboard operation
CollectionViewSelfSizing-Final copied to clipboard

Cell size changed after reload data and content offset not set to initial postion

Open bhaveshbc opened this issue 5 years ago • 0 comments

HI @V8tr Thanks for your demo I encounter a problem when I set

cell.maxWidth = collectionView.bounds.width/2

it works nicely for the initial load. but when I reload the collectionView collectionView.reloadData()

there are two problems that Occur

  1. cell size changed and not set properly
  2. content offset not set to initial position(the position before reload)

bhaveshbc avatar Dec 22 '20 16:12 bhaveshbc