Closed j-krl closed 1 year ago
I figured this out myself by using document.getElementById('<id>').scrollIntoView()
, as calculating the scroll position from the the parent would be much more difficult. However, I could still foresee uses of having the ref on the parent for scrolling to top in certain circumstances. Not really an issue for me anymore though.
It would be great if I could attach a ref to the ConversationList in the same way I can to the MessageList. I'd like to be able to scroll around the ConversationList because the order of the list changes based most recent activity, and I want my currently active conversation to always be in view.