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 grows infinitely when I add padding #159

Open
GuyMograbi opened this issue Aug 31, 2016 · 1 comment
Open

sticky grows infinitely when I add padding #159

GuyMograbi opened this issue Aug 31, 2016 · 1 comment

Comments

@GuyMograbi
Copy link

reproduced in this awesome plunker : https://plnkr.co/edit/itIzrfbzrng5n9Uuc88u?p=preview

Just scroll down/up several times and see the scroll bar appears for X dimension and grows more and more.

If I remove the padding on [sticky] css, then it's fine.

What I eventually need is a sticky that will be 100% percent and allow some padding.
If there's another way to implement this, I'd be happy to align myself to it.

Awesome library! thank you very much!

@fernandoiwamoto
Copy link

fernandoiwamoto commented Sep 2, 2016

Well encapsulate your text, like <div style="padding:20px"> Sticky! </div>

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