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

ng2-sticky doesn't work on scrolling sidebar nav #30

Open
Gicus opened this issue Aug 8, 2017 · 1 comment
Open

ng2-sticky doesn't work on scrolling sidebar nav #30

Gicus opened this issue Aug 8, 2017 · 1 comment

Comments

@Gicus
Copy link

Gicus commented Aug 8, 2017

I tried to use ng2-sticky to create a sticky header in my sidebar content, but it doesn't work.
Sidebar content is inserted using angular 2 app routing module,

Do you have any solution?
PS: I also, tried to make header sticky with
image

Content
`



<i class="material-icons header-back-icon" (click)="goBack()">arrow_back

{{bikeTrack.name}}

<i class="material-icons header-map-icon" (click)="closeSidenav()">map

Zona
{{bikeTrack.zone}}
{{bikeTrack.itinerary}}
Dificultate:
{{bikeTrack.difficulty}}
Elevație:
{{bikeTrack.elevation}}
Distanță:
{{bikeTrack.distance}} km
Timp:
{{bikeTrack.time}}
Download arrow_drop_down arrow_drop_up
        <comments selectedItemName="{{bikeTrack.name}}"></comments>
    </md-card-actions>
</md-card>
`
@mackelito
Copy link

I was also trying this sticky lib out with Angular Material... one problem is that it's not window that get's scrolled.. so I quess it would need some tweeking to make it work..

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