On mobile, open enough sessions to have 5 tabs in the header.
Steps to reproduce:
- Open Codeman on a phone-sized viewport.
- Open 5 session tabs.
- Try to swipe the tab bar horizontally to reach the tabs on the far right.
- Select the furthest-right tab that is currently visible.
Expected: The tab bar can be scrolled to every tab, and selecting a tab repositions the strip so the active tab is visible.
Actual: Tabs on the far right cannot be reached. Selecting the furthest-right visible tab does not reposition the strip or reveal additional tabs.
Likely cause: Mobile CSS enables horizontal overflow, but the normal selection path only toggles the .active class. It does not call scrollIntoView() or adjust scrollLeft. There is separate full-render logic intended to put the active mobile tab first, but ordinary tab selection takes the incremental-render path, so that reordering does not run. Existing mobile tests check the overflow CSS but not actual scrolling or active-tab visibility.
On mobile, open enough sessions to have 5 tabs in the header.
Steps to reproduce:
Expected: The tab bar can be scrolled to every tab, and selecting a tab repositions the strip so the active tab is visible.
Actual: Tabs on the far right cannot be reached. Selecting the furthest-right visible tab does not reposition the strip or reveal additional tabs.
Likely cause: Mobile CSS enables horizontal overflow, but the normal selection path only toggles the
.activeclass. It does not callscrollIntoView()or adjustscrollLeft. There is separate full-render logic intended to put the active mobile tab first, but ordinary tab selection takes the incremental-render path, so that reordering does not run. Existing mobile tests check the overflow CSS but not actual scrolling or active-tab visibility.