Skip to content
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

[ASCollectionLayout] Exclude content inset on scrollable directions from viewport size #562

Merged

Conversation

nguyenhuy
Copy link
Member

Failing to do this will cause ASCollectionLayout to report a content size that spans beyond the safe scrollable area of the collection node. In case of ASPagerNode, that then causes the pager to bounce vertically and messes up with the pull-to-dismiss gesture in closeup.

Copy link
Member

@garrettmoon garrettmoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ghost
Copy link

ghost commented Sep 11, 2017

🚫 CI failed with log

@nguyenhuy nguyenhuy force-pushed the HNViewportSizeExcludingContentInset branch from 7df699b to 25f5076 Compare September 11, 2017 19:08
@garrettmoon garrettmoon merged commit 7c7a4ac into TextureGroup:master Sep 11, 2017
@nguyenhuy nguyenhuy deleted the HNViewportSizeExcludingContentInset branch September 12, 2017 15:36
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants