ngSticky
ngSticky copied to clipboard
sticky grows infinitely when I add padding
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!
Well encapsulate your text, like <div style="padding:20px"> Sticky! </div>