You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
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?
The reason will be displayed to describe this comment to others. Learn more.
I would assume that's the case— this doesn't appear to be a line of code I wrote myself, although I do recall a couple of commits from others which enabled or disabled bouncing.
1e4fe3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
1e4fe3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would assume that's the case— this doesn't appear to be a line of code I wrote myself, although I do recall a couple of commits from others which enabled or disabled bouncing.
1e4fe3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, meant to address the original author. I'll check with him and double check the need for it, barring one I'll commit a fix. Thanks, Jim.
1e4fe3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I wrote it myself for my own need, didn't really want it to merge with the main repo, sorry about that.
1e4fe3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason that this is still in the main repo?