Open hjgyuhuk opened 2 years ago
smooth scrolling takes a fairly large toll on performance, and that's why twitch and youtube (when chat is fast) don't do smooth scrolling by default either. it's also especially hard to make transitions blend together when messages are of uneven length and are arriving on uneven intervals. i could consider adding an option like this, but it'll be low on the priority list
Actually Using like scrollIntoView api which is browser-built in function, I maked better performance than 'scrolltobottom' which is library functions
Thank you very much for your reply and explanation, I will look into it
Checklist
Is your feature request related to a problem? Please describe.
Auto-scrolling is janky when new messages appear
Describe the solution you'd like
Scrolling should be smoother for the visual coherence
Expected behavior
From
To
Describe alternatives you've considered
No response
Anything else?
No response