Skip to content

Zero height cells cause strange layout issues #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JosephDuffy opened this issue Sep 15, 2020 · 1 comment
Open

Zero height cells cause strange layout issues #4

JosephDuffy opened this issue Sep 15, 2020 · 1 comment

Comments

@JosephDuffy
Copy link
Member

If a zero height cell is present all the visible cells after disappear. An example is available in the branch zero-height-cell-bug.

I'm not sure which project this is a bug in. I'd guess ComposedLayouts but I can't be sure.

I've done a search for 0 and height but can't find anything that would point to this.

Note that the cells are not requested and are not in the hierarchy. Maybe the position for them is wrong (e.g. off the screen) so the collection view never requests them.

Screenshots:

App launch
Simulator Screen Shot - iPhone 8 - 2020-09-15 at 17 45 00
Scrolling down
Simulator Screen Shot - iPhone 8 - 2020-09-15 at 17 45 10
Post-delete
Simulator Screen Shot - iPhone 8 - 2020-09-15 at 17 45 07

cc @shaps80

@shaps80
Copy link
Collaborator

shaps80 commented Sep 15, 2020

Hmm seems unlikely to be the layout since we use whateva UIKit gives us, I'll need to investigate deeper.

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

No branches or pull requests

2 participants