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

All things does work #36

Open
liuhao2050 opened this issue Sep 14, 2017 · 2 comments
Open

All things does work #36

liuhao2050 opened this issue Sep 14, 2017 · 2 comments

Comments

@liuhao2050
Copy link

I try to stick, but it doesn't work, without any warnings or errors.
image
image

@willyboy
Copy link

willyboy commented Oct 2, 2017

What's the parent of your sticky element? I found that if it's not "block" this doesn't work.

@crutchcorn
Copy link

Try using this:
import {StickyComponent} from 'ng2-sticky-kit';

The module listed in the README does not export the component, so it naturally shouldn't work. Additionally, I've noticed that <div sticky> does not work as it is not defined in the component code. Instead, use <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

3 participants