Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

ASTableview automaticallyAdjustsContentOffset incorrect when inserting sections with headers/footers #2908

Closed
ArmandsB opened this issue Jan 18, 2017 · 3 comments

Comments

@ArmandsB
Copy link

ArmandsB commented Jan 18, 2017

Hello. I noticed that automaticallyAdjustsContentOffset on ASTableView is not working correctly, when inserting sections with headers/footers.

I have created a test project for this. https://github.com/ArmandsB/AsyncDisplayKitTest
Basically, when inserting new sections at top, which have header/footers - offset is being calculated incorrectly. When manually add that extra offset, everything is fine.

@hannahmbanana
Copy link
Contributor

@ArmandsB - thank you for including a sample project!
@Adlai-Holler - could you triage this?

@Adlai-Holler
Copy link
Contributor

The documentation says that automaticallyAdjustsContentOffset doesn't support section operations, but the linked PR adds that capability. Let me know what you think of it @ArmandsB !

@ArmandsB
Copy link
Author

Thank you. Looks good ;)

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

No branches or pull requests

3 participants