MichiganLabs / AnimatingTableViewHeader

A Swift project explaining how to animate a header above a UITableView
164 stars 35 forks source link

Bug with 2-3 rows #1

Closed matteopiccioni closed 7 years ago

matteopiccioni commented 7 years ago

Hello, if the tableview has 2-3 rows, the header will not expand

johndelong commented 7 years ago

Ah, good observation! In that scenario we shouldn't let the header collapse at all (since all of the content can actually fit within the scrollView). I'll update the example project soon to account for that scenario.

matteopiccioni commented 7 years ago

Thank you very much :)