Skip to content

keep tabs and toggles still as they are pressed, as only buttons sink - #288

Merged
hkonsti merged 1 commit into
mainfrom
hkonsti/scaledown-component-identification
Nov 11, 2026
Merged

hkonsti merged 1 commit into
mainfrom
hkonsti/scaledown-component-identification

Conversation

@hkonsti

@hkonsti hkonsti commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Pressing a pill tab or toggle option (Chat's model switcher's Claude / OpenRouter tabs, the share toggle, the theme picker) no longer nudges it down a pixel; only real buttons sink as they are pressed. On a small tab the nudge, animated by the pill's transition-all, read as the pill shrinking. The press nudge in pillVariants now skips anything with role="tab" or an aria-pressed attribute, whether chosen or not, so pressing an unchosen tab stays still too.


Open workspace in Conductor

@hkonsti
hkonsti merged commit 501f112 into main Nov 11, 2026
4 checks passed
@hkonsti
hkonsti deleted the hkonsti/scaledown-component-identification branch November 11, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant