Skip to content

Mobile tab bar cannot reach rightmost tabs #257

Description

@DodgyBadger

On mobile, open enough sessions to have 5 tabs in the header.

Steps to reproduce:

  1. Open Codeman on a phone-sized viewport.
  2. Open 5 session tabs.
  3. Try to swipe the tab bar horizontally to reach the tabs on the far right.
  4. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions