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

[Smooth Scroll]: ScrollToElement function wrong scroll position #574

Closed
MurhafSousli opened this issue Apr 9, 2024 · 0 comments · Fixed by #577
Closed

[Smooth Scroll]: ScrollToElement function wrong scroll position #574

MurhafSousli opened this issue Apr 9, 2024 · 0 comments · Fixed by #577
Assignees
Labels

Comments

@MurhafSousli
Copy link
Owner

Expected Behavior

It should scroll to the target element

Actual Behavior

When scroll position is already near the target element, calling the function will scroll to top (wrong position).

Environment

  • Angular: 17.0.0
  • ngx-scrollbar: 14.0.0
@MurhafSousli MurhafSousli self-assigned this Apr 9, 2024
@MurhafSousli MurhafSousli linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant