Steps to reproduce
- Create an item in a document with a lot of children (enough so that you have to scroll down).
- Zoom into the item.
- Scroll down.
- Switch to another document.
- Switch back to the first document.
- Scroll up to the top.
- Zoom out of the item.
- Zoom back into the item.
On step 5 you should be scrolled to the position you were in before you switched documents. On step 8 you should be placed back at the top of the document since you scrolled back up in step 6.
On step 8 you are put back to the position you were in when you first left the document in step 4.
It seems that the view position is set when switching documents, but is not properly reset after switching back to the document, causing incorrect behavior when switching in and out of this view from within the same document.
Repro video: https://streamable.com/gmhges
Chrome, Windows 10.