Stack Tabs Stop Working When Switching Between Edit/Read Mode

Stacked Tabs stops functioning when the pages in the stacked tabs are in Read mode.

Steps to reproduce

  1. In Sandbox Vault, open the pages “Start Here”, “Vault is just a local folder”, “Plugins make Obsidian special for you”, and “Guides/Create a vault” each in their own tab.
  2. Switch the view to “Stacked Tabs”
  3. Click through each tab - they are working properly at this point
  4. Click “Vault is just a local folder” to view it (my 2nd tab) and click the icon to switch from “editing” to “reading” mode
  5. Click “Create a vault” (my 4th tab), so that the contents of “Vault is just a local folder” are no longer visible
  6. Click on “Vault is just a local folder”. The header tab for it appears to activate, and it shows as selected in the File Picker, but the stacked tabs do not slide to make it visible.

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

I expect the tabs to adjust properly so I can view the contents of the page I clicked on.

Actual result

The header tab for the page I click on appears to activate, and it shows as selected in the File Picker. But the stacked tabs do not slide to make it visible.

Environment

SYSTEM INFO:
Obsidian version: v1.8.7
Installer version: v1.8.4
Operating system: Windows 11 Home 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Was fixed 1.8.9