Skip to content

fix: Disabled states for command item and multi select - #147

Merged
Codar97 merged 1 commit into
mainfrom
fix/command-disabled-state
Aug 21, 2026
Merged

fix: Disabled states for command item and multi select#147
Codar97 merged 1 commit into
mainfrom
fix/command-disabled-state

Conversation

@Codar97

@Codar97 Codar97 commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Before, disabled items would have no pointer events and therefore wouldn't be able to trigger the disabled tooltip. If you removed the pointer-events-none the tooltip would then have 50% opacity:

Screen.Recording.2026-08-21.at.14.11.01.mov

After, now has pointer events to allow the tooltip to be seen and a color of text-muted-foreground/50 to imply the disabled state without affecting the opacity of the tooltip. The menu item is still not able to be selected in this sate:

Screen.Recording.2026-08-21.at.14.11.25.mov

Also command palette disabled state:
Screenshot 2026-08-21 at 14 16 38

@github-actions

Copy link
Copy Markdown

📚 Storybook Preview: https://63237d0bc757b3509cd96e0e-yfkedritxd.chromatic.com/

@stavros-tomas stavros-tomas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Sam!

@Codar97
Codar97 merged commit f531976 into main Aug 21, 2026
2 checks passed
@Codar97
Codar97 deleted the fix/command-disabled-state branch August 21, 2026 15: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.

2 participants