makseo / ng2-sticky

Angular 2+ solution to make elements stick during scrolling.
https://domainlines.com
MIT License
92 stars 50 forks source link

doesn't stop sticky when near footer #37

Open sayax opened 7 years ago

sayax commented 7 years ago

As per documentation [sticky-offset-bottom] should stop stickying when it reached some container, for instance footer, but it doesn't work. Could you please explain thoroughly how it works. Especially, if I have a component app-sidebar and it should stop sticky when reached app-footer component.

dukakent commented 7 years ago

@sayax I added CSS :host{ display:block; }. This partially works for me.

PavelGonzales commented 7 years ago

@dukakent Thank you! That resolve the problem