buddypond icon indicating copy to clipboard operation
buddypond copied to clipboard

Improved `scrollToBottom()` logic for chat windows

Open Marak opened this issue 3 years ago • 2 comments

Currently the scroll top is set to 9999.

This should be a relative value instead of an absolute value.

It should only be a one line change if done correctly.

Marak avatar Mar 17 '22 00:03 Marak

(Random thoughts) You scroll to the element's height then...? Or brutally the scrollHeight of the parent or content element?

lifehome avatar Mar 18 '22 14:03 lifehome