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

Using Paroller on elements at the top of the page #48

Closed
elliott-impression opened this issue Nov 23, 2018 · 3 comments
Closed

Using Paroller on elements at the top of the page #48

elliott-impression opened this issue Nov 23, 2018 · 3 comments

Comments

@elliott-impression
Copy link

elliott-impression commented Nov 23, 2018

Hi!

I am hoping to have an element positioned at the top of the page (a Hero Banner) and I want to implement paroller so that its' content parallaxes.

At the moment it seems on page-load paroller kicks in and applies the transform despite not started scrolling yet. For example transform: translateY(-84px);, which causes an unwanted gap.

How is it possible to have transform initiate at 0 or null so that it is only applied when the user starts scrolling.

Thank you and great job

@elliott-impression elliott-impression changed the title No offset on paroller elements at the top of the page Using Paroller on elements at the top of the page Nov 23, 2018
@elliott-impression
Copy link
Author

Bump @tgomilar?

@tgomilar
Copy link
Owner

@elliott-impression please look at this issue.

@elliott-impression
Copy link
Author

Super, thanks!

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

2 participants