mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
Previously, we had some ugly complicated logic through which we attempted to keep the selected message on screen when prepending messages, but we didn't actually preserve the scroll position -- the selected message would jump on the screen. This fixes that, by just saving/restoring the scroll position of the selected message. This perhaps makes our model/view split even less clear, but at least it's correct. (imported from commit 0a01450bbbcdf1b45c891d0570c9fcfb11769315)
41 KiB
41 KiB