Silverstripe CMS - this is a module for Silverstripe Framework rather than a standalone app. Use https://github.com/silverstripe/silverstripe-installer/ to set this up.
The CMS tries to remember what tab you were looking at when you save your page.
This is there so the content author stays on the same tab when the response comes back from the server. However, it remember your tab for the rest of your session. So you keep going back to that tab by default all the time.
How to reproduce
Go to a CMS page with tabs.
Access a tab different from Main.
Save the page.
You stay on the same tab.
Navigate to a different page in the CMS.
Come back to your original page.
Expected behaviour: You view the main tab.
Actual: The CMS loads the tab you were looking at step 4.
Module version(s) affected
5.1, but basicaly every version ever made.
Description
The CMS tries to remember what tab you were looking at when you save your page.
This is there so the content author stays on the same tab when the response comes back from the server. However, it remember your tab for the rest of your session. So you keep going back to that tab by default all the time.
How to reproduce
Expected behaviour: You view the main tab. Actual: The CMS loads the tab you were looking at step 4.
Screencast from 20-02-24 17:09:35.webm
Possible Solution
Find the bit that reload the tab you were looking at on step 4, and unset the session storage flag after you read it.
Additional Context
The currently displayed tab is recorded in the session storage on save.
Validations
silverstripe/installer
(with any code examples you've provided)