-
Notifications
You must be signed in to change notification settings - Fork 150
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 from 1 section overlapping into text from another section #32
Comments
Update: been investigating this and it appears to be caused by iOS 11 changing how tableview estimated heights are handled. If I figure out a fix, will post it. |
Thank you so much @DrD00der! |
Also I am thinking upgrading to Swift 4 |
Problem solved: Remove the sizing from viewDidLoad and add them in viewWillAppear:
|
UITableViewAutomaticDimension never works on my project in term of setting proper section header height. |
Why is this a fix? |
I made my table sections auto collapse when you open any other section via for loops. One of my testers sent me these screenshots showing that the various fields from each section seem to get overlapped by headers from other sections.
I used the exact code from this repository and changed only a few lines of code to make the sections auto close and customized the data in ExampleData.swift.
In the CollapsibleTableViewController.swift, I added this into viewDidLoad:
I updated my toggleSelection code as follows:
Here is the screenshot of the bug in action:
image
Any ideas what could be causing this? I can't replicate this in my testing but my tester keeps having this happen.
Thanks
The text was updated successfully, but these errors were encountered: