I find that when i switch modes, the browser scroll position (document.body.scrollTop) shifts, which is disorienting. Any interest in saving and/or adjusting for the scroll position when changing modes? I've tested this in my own code by storing scrollTop before the change and then setting it after the change.
I find that when i switch modes, the browser scroll position (
document.body.scrollTop
) shifts, which is disorienting. Any interest in saving and/or adjusting for the scroll position when changing modes? I've tested this in my own code by storingscrollTop
before the change and then setting it after the change.