-
Notifications
You must be signed in to change notification settings - Fork 79
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
Scroll to child div not working. #111
Comments
I'm not a Javascript expert, but it seems the problem is here
basically if the direct parent is |
What? version that have support for angular 7, don't have this bug; Don't work:
|
@nicky-lenaers Any updates on this? Currently having to hack the offset option to get this working with repeated over columns.... |
An simplified version of this, I found this answer in stackoverflow https://stackoverflow.com/a/51400379/2513972 As workaround and for my use case, I create an service to keep the reference of the element that I need to scroll, mostly because if I need change of view, and scroll to...
Component
Service
Using this path, your have to look for view life cycle hooks to gain full control. |
isWindow returns false even though we are in the current target. |
Hey @shaharyar123, do you have a running example that I can have a look at? :-) |
I'm submitting a...
i was trying to add scroll to the child-div (code below) but it wasn't working, rater then it scroll to the top of the window.
but when i changed the reference to main-div, it starts working fine.
The text was updated successfully, but these errors were encountered: