Skip to content

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

Description

@bhaveshbc

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions