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

Manual 'reset' #197

Open
wrightjamie opened this issue Mar 26, 2021 · 1 comment
Open

Manual 'reset' #197

wrightjamie opened this issue Mar 26, 2021 · 1 comment

Comments

@wrightjamie
Copy link

I've used the disableInlineStyle prop and then my own set of callbacks to add and remove props (and hence styles through data-hidden=true).

This means I've been able to implement a 'pinned' state via a separate button. Unfortunately, when I unpin, I need to scroll up then down before headroom retriggers the unpin callback.

It would be great to have a way to manually 'reset' Headroom.

@andykimchris
Copy link

I would like something similar. Any updates on this?

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