Blazored / Gitter

A Blazor Gitter Client
MIT License
37 stars 14 forks source link

Auto Scroll Into view New Messages #19

Closed SQL-MisterMagoo closed 5 years ago

SQL-MisterMagoo commented 5 years ago

When new messages arrive they should scroll into view if the view is currently at the very bottom.

chucker commented 4 years ago

This seems broken again (tested in Safari for macOS, Safari for iOS, Firefox). New messages arrive, but you have to manually scroll to the end.

It's not clear to me from the PR which code in particular is supposed to do the scrolling. Any pointers? yeah, IsScrolledToBottom and ScrollIntoView is probably where I should start looking :)

chucker commented 4 years ago

Never mind. The scrolling works; it's the embedding chat.js that (at least out of the box) didn't work right for me.