-
Notifications
You must be signed in to change notification settings - Fork 436
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
scrollToBottom not scrolling to bottom #373
Comments
EDIT: I don't believe that this fix illustrates the correct use of the I experienced this issue as well - in my case, I was able to resolve it by wrapping the call to
|
Hm, after having a few days to play around with this, it doesn't seem this this "hack" fix works consistently. Most of the time, it works fine, but other times, the list will stop scrolling most of the way down. Anyway, it's good enough for me for now, but a real fix for this issue would be terrific. I would think it relates to #430, and it looks like they might try to patch it... so let's hope that PR comes soon! |
@darrenklein Let me look into it sometime this week and see if it's related. |
@fisshy Thanks! And thanks so much for all of your hard work. |
@fisshy You know what, I think that my problem is that I'm not using this behavior correctly - I'm calling |
@darrenklein aha ok! Let me know how it works out! :) |
If my guess is correct don't use the garbage scrolling methods from your framework here react, I have the same problem with framework ionic, instead use standard .scrollIntoView() it works nicely... I set up two dummy hidden divs, top and bottom around my "content" like so
|
What I need
Auto scroll through a table that is in a fixed container
What i've done
I have a fixed height div (700px) containing a table of data. The height of the table is greater than the container and thus is scrollable (as planned). I wanted to auto scroll through the table contents using animateScroll.scrollToBottom(). This is not working 100%. The content of the div is scrolling but only for 700px of the content (so around 1/3). This is obviously something to do with the fixed height of the table but that cannot be changed>
Heres what I have
The text was updated successfully, but these errors were encountered: