tailscale / tailscale/aperture-plus
[BUG] Tab spacing inconsistent when changing title length
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 18
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Description
I’m consistently encountering spacing issues with the tabs component. It appears that the tabs are autosizing based on their label text, but the layout is still constrained to a fixed grid. As a result, tabs sometimes render with unexpected gaps or misaligned boundaries.
Expected Behavior:
Tabs should either:
- Autosize smoothly according to label length, without snapping to a grid, resulting in even spacing; or
- Adhere to the grid layout consistently, with uniform tab widths, truncating longer labels.
Actual Behavior:
- Tab widths fluctuate based on label length
- Grid snapping remains in effect, creating uneven spacing between tabs
- On window resize, tabs can overlap or leave large empty gaps
Example:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the tabs component and reproduce the issue by changing tab title lengths and resizing the window. Inspect how label sizing and the fixed grid interact. Done means tabs maintain consistent spacing and boundaries without overlaps or large empty gaps as titles and window size change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- desktop-dev, frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100