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

Sticky element overlapping scrollbar #58

Open
lenchantin opened this issue Feb 9, 2017 · 1 comment
Open

Sticky element overlapping scrollbar #58

lenchantin opened this issue Feb 9, 2017 · 1 comment

Comments

@lenchantin
Copy link

lenchantin commented Feb 9, 2017

We have a case where we need to use off-canvas for a mobile menu system, so to keep the page from jumping back to the top when the off-canvas menu triggers, we wrap the page in an inner-container. The inner-container div has the y-scrollbar.

We can get sticky to grab to the top of this container with no issue, but when the sticky catches the top of the container, as intended, it sizes the bar so it's overlapping the top of the scrollbar. We've tried everything we can think to fix this, but nothing seems to work.

Any suggestions?

@davist11
Copy link
Owner

Do you have a link so I can see what you mean?

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