stevenchan/AQGridView — comment on commit 8bcb14ae465adecc697c23d4c39756bdd7711da2
File:  line 0
By rbruels:

Can you please explain this one? This appears to be the offending line that is causing the grid view to bounce vertically even when the content doesn't warrant it!

The problem is easy to reproduce. Make a grid view, layoutDirection=horizontal. Add cells with portraitGridCellSize that matches the grid view's frame height (which would, if working correctly, not bounce vertically).

Perhaps this assumed the grid view's layoutDirection is always the default vertical?