Skip to content
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

Headers not updating when on insertSections #16

Open
MilanNosal opened this issue Sep 24, 2020 · 0 comments
Open

Headers not updating when on insertSections #16

MilanNosal opened this issue Sep 24, 2020 · 0 comments

Comments

@MilanNosal
Copy link

MilanNosal commented Sep 24, 2020

Hi! Great work!
I am using the layout and custom ShelfElementKindSectionHeaders. However, if I try to later insert a section using insertSections, while the content of the section animates in, the headers stay the same resulting in inconsistent view.
E.g., If I start with this:

A
a a a a a a
B
b b b b b 

and insert section C with c c c c c at the beginning, it ends up looking like this:

A
c c c c c
B
a a a a a a
B
b b b b b

If I scroll away and come back, it shows correct data, so it really looks just like an error with the animation/insertion itself. How it should look right after the animation:

C
c c c c c
A
a a a a a a
B
b b b b b

BTW calling reloadData works as expected.

Any idea what might be wrong? Thanks

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

No branches or pull requests

1 participant