I was just visiting a certain site where I clicked search and a full page overlay search box came up. I wasn't getting results and didn't feel like hitting backspace a bunch so hit refresh and the page reloaded but without the search overlay activated.
This got me wondering, should things like that remain open when the page is reloaded. Examples of "things like that" in my mind would be:
- Collapsible panels, should they remain expanded
- Popover modals, should they remain open
- Lightboxes, such as ones that pop up to view images
Pretty much should all of these "toggle-able" states be saved so they can be the same on reload, on one hand it is where the user is currently at so it makes sense to bring them back there, but on the other hand it appears to be uncommon and some users may prefer to refresh to kill all unwanted popups/collapses.