Skip to content

Conversation

@ritiksahni
Copy link

@ritiksahni ritiksahni commented Nov 11, 2025

Problem Statement

When switching from a normal tab to a split view tab group in the vertical tab bar, users often click the center area of the split view group. However, with multiple tabs (3-4) in split view, the close buttons (X) appear in the center area where users naturally click, leading to accidental tab closes.

I personally faced this problem while having a split view group for my reading session across multiple tabs. I accidentally closed the tabs multiple times while switching.

User Impact:

  • Accidental tab closes when clicking center to switch tabs
  • Poor UX especially with 3-4 tabs in split view

Proposed Solution

Position all close buttons on the left edge of each tab in split view groups, instead of right/center positioning. This minimal change:

  • Prevents accidental closes when clicking center area
  • Maintains close button accessibility
  • Zero breaking changes. It's just repositioning for better UX.

Changes

  • Modified src/zen/split-view/zen-split-group.inc.css to position close buttons on left edge
  • Added padding to tab content to accommodate left-positioned buttons

Testing

Tested with:

  • 2 tabs in split view
  • 3-4 tabs in split view (most problematic case)
  • Switching from normal tabs to split view groups

Screenshots

Screenshot 2025-11-11 at 1 22 20 PM

Position close buttons on the left edge instead of right to prevent
accidental closes when clicking center area to switch tabs. Minimal UX
improvement that makes tab selection safer in split view groups.
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. Bug labels Nov 11, 2025
@mr-cheffy
Copy link
Member

@JaceThings thoughts on this?

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

Labels

Bug size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants