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

Headroom class not updating when scrolling up and down very fast #147

Closed
vjanuar opened this issue Aug 2, 2018 · 4 comments
Closed

Headroom class not updating when scrolling up and down very fast #147

vjanuar opened this issue Aug 2, 2018 · 4 comments

Comments

@vjanuar
Copy link

vjanuar commented Aug 2, 2018

We're using the Headroom component with disableInlineStyles, and when scrolling up and down very fast, the headroom--unpinned class remains on the header even at the very top, resulting in the header not showing up due to the transform: translateY(-100%) property we have under the unpinned CSS selector. Any idea why?

@fzaninotto
Copy link
Contributor

Same here without the disableInlineStyles options. Just a simple <Headroom>{children}</Headroom>.

kapture 2018-09-19 at 17 55 39

This happens very often, I think it's a serious bug.

@fzaninotto
Copy link
Contributor

I think it's a duplicate of #134

@fzaninotto
Copy link
Contributor

Fixed by #151.

@janczizikow
Copy link
Collaborator

going to close this, feel free to re-open if it's still an issue

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

3 participants