andreamazz / andreamazz/AMScrollingNavbar

Collection View not following navigation bar to top, Follower leaves a grey box.

Open
#369 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6k
Forks
628
PR merge metrics
No merged PRs in 30d

Description

I scroll up but the collection view does not follow. I use the storyboard to set up the everything and the constraints.

`if let navigationController = navigationController as? ScrollingNavigationController {
navigationController.followScrollView(collectionView, delay: 20.0, followers: [NavigationBarFollower(view: exploreSearchBar, direction: .scrollUp)])
} else {
print("Not FOUND")
}`

A short youtube video on the issue:
EDIT I had the wrong link up sorry.
[https://youtu.be/bmP3GWvoWqs](url)

The top constraint for the ui collection view to the bottom of the search bar:
![Screen Shot 2019-08-09 at 2 26 38 AM](https://user-images.githubusercontent.com/43056803/62761790-2ce58c00-ba4d-11e9-93d8-b9b78a4b8ed3.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.