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

HeaderComponent is leaving an empty space #5

Open
cicerone-f opened this issue Nov 23, 2018 · 0 comments
Open

HeaderComponent is leaving an empty space #5

cicerone-f opened this issue Nov 23, 2018 · 0 comments

Comments

@cicerone-f
Copy link

When starting to scroll content down, the HeaderComponent is immediately removed.
If for instance my header height is 100 and the content has scrolled for only 20, we have 80 empty from top to content which i feel should not be the case.

Possible solutions in my opinion are:

  • trigger the animation only after the height of the header has been scrolled
  • if the scrolled portion is less than header height, translateY all the content between header in order to fill the gap

out

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

No branches or pull requests

1 participant