-
Notifications
You must be signed in to change notification settings - Fork 75
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 bottom when container resized #89
Comments
This will be fixed with version 2 since we'll be using a ResizeObserver! See #72. |
Epic thanks! |
I was wrong - I don't think a resize observer will fix this. The problem arises when the chat container height is relative - otherwise the scroll position should remain where it should. We can code around this by listening to a window resize event and scrolling then. Let's leave this open and see what other people think. |
This issue is still valid, on resize it should stick to bottom |
which browser and os? |
@supertiger1234 Resize issue is in chrome and FF windows 10 |
Oh wait, I thought this was one of my projects. Oops 😂 |
No worries at all :) Well, do you have any idea how can I solve the this problem ? I wrote as help wanted yesterday but I couldn't find anything that can solve issue, I wrote yesterday this text below.
|
I'm not sure. I just didn't use this lib and just manually scrolled to the bottom when required |
Guys this is an open-source project. I don't actually use this package anymore, I just maintain it. I've got other stuff going on and this is pretty much at the bottom of my priority list. Feel free to submit a pull request if you feel like helping. Otherwise, you'll just have to wait until I do all the other things I have to do before I get to this. |
Describe the bug
When the window is resized, scroll does not stick at the bottom
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Content Scroll should stick at the bottom
The text was updated successfully, but these errors were encountered: