Iglistkit: Embedded SelfSizing CollectionView cell size bug after update

Created on 18 Oct 2017  路  1Comment  路  Source: Instagram/IGListKit

New issue checklist

Requirement

  • I have an EmbeddedSelfSizingCollectionViewCell that contains a horizontal UICollectionView.

  • User can scroll the horizontal UICollectionView and tap the cells to select/unselect the button.

  • All buttons needs to keep in sync with the cell viewModel selected property.

  • Horizontal UICollectionView needs to be updated each time user select/unselect a button.

Bugs

  • Wrong updated cell sizes when user tap the cell after context.reload(self) call.

  • Horizontal UICollectionView does not keep the previous position after update.

Analysis

  • If I just disable the self sizing feature. Everything works fine.

Demo Project

IGListKitDemo

Gif

Help wanted

  • Make it work (check demo project) [Main request]
  • Code review (If possible) [Optional]

Thank you

question

Most helpful comment

Closing this in favor of tracking all self-sizing cell issues in #516. Our recommendation is to not use the self-sizing cell's b/c of their bugs and inconsistencies 馃槩

>All comments

Closing this in favor of tracking all self-sizing cell issues in #516. Our recommendation is to not use the self-sizing cell's b/c of their bugs and inconsistencies 馃槩

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucabartoletti picture lucabartoletti  路  3Comments

krysztalzg picture krysztalzg  路  3Comments

joseph-francis picture joseph-francis  路  3Comments

rnystrom picture rnystrom  路  3Comments

runmad picture runmad  路  3Comments