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

ngx-malihu-scrollbar scrollTo method is not working #59

Open
sedhurabe opened this issue Jul 3, 2020 · 2 comments
Open

ngx-malihu-scrollbar scrollTo method is not working #59

sedhurabe opened this issue Jul 3, 2020 · 2 comments

Comments

@sedhurabe
Copy link

I am using ngx-malihu-scrollbar in my angular project. scrollTo is not working,

`import { MalihuScrollbarService } from 'ngx-malihu-scrollbar';
constructor(private mScrollbarService: MalihuScrollbarService) { }

ngOnChanges() {
this.mScrollbarService.scrollTo(#${this.dateIndex}, 10 , { scrollEasing:'easeOut' });
}my HTML code<div malihu-scrollbar [scrollbarOptions]="darksScrollbarOptions">

... `

In this.dateIndex I will be getting the id

@micah-akpan
Copy link

micah-akpan commented Dec 6, 2020

@sedhurabe, are you still experiencing this behavior with the scrollTo method?

@samir-kamble
Copy link

I am also facing same issue. Anyone has any solution to this?

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