When Convo page loads or gets resized, the message container gets scrolled into view. However, the .scrollIntoView() method doesn't account for the sticky toolbar (32px), therefore the toolbar will overlap the top buttons (home, group chat, etc).
This is quite annoying because the end-user has to scroll up just to be able to click these buttons. Perhaps we could do something with it - even if it'd be a bit hacky, something like this:
window.scroll(0, window.scrollY - 32);
Maybe we could even hook into the scrollIntoView method on the #message-container element.
When Convo page loads or gets resized, the message container gets scrolled into view. However, the
.scrollIntoView()method doesn't account for the sticky toolbar (32px), therefore the toolbar will overlap the top buttons (home, group chat, etc).This is quite annoying because the end-user has to scroll up just to be able to click these buttons. Perhaps we could do something with it - even if it'd be a bit hacky, something like this:
Maybe we could even hook into the
scrollIntoViewmethod on the#message-containerelement.