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

Custom class when sticking #1

Open
scottsweb opened this issue Dec 16, 2015 · 1 comment
Open

Custom class when sticking #1

scottsweb opened this issue Dec 16, 2015 · 1 comment

Comments

@scottsweb
Copy link

It would be great if a custom className could be added to the .sticky container when it becomes stuck. This would make it easy to tweak the CSS in this situation. For example I would like to add a small box-shadow when it is stuck to the top of the page.

@SPAHI4
Copy link

SPAHI4 commented Feb 3, 2016

+1 top offset and custom class are needed like this https://github.com/captivationsoftware/react-sticky

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