Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

UICollectionView isn't inset correctly while UIScrollView works fine #164

Open
fruitcoder opened this issue Oct 19, 2016 · 0 comments
Open

Comments

@fruitcoder
Copy link

Hey :)
Thank you for this awesome library! I'm currently facing a weird issue in my project using the shyNavBar in combination with a UIPageViewController and UICollectionViews (being nested in the pages). The weird thing is that it works great if I use UIScrollViews instead of UICollectionViews. I isolated the problem in an example project that you can download here.

These screenshots show the problem:
screen shot 2016-10-19 at 15 48 03
Correct inset with UIScrollView.

screen shot 2016-10-19 at 15 47 19
Wrong inset with UICollectionView.

The setup is identical (I think) so could it be that the collectionViewLayout interferes with the insets/offset in any way?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant