Skip to content

Comments

fix: cursor-not-allowed on disabled button#568

Merged
jrasm91 merged 2 commits intomainfrom
fix/button
Feb 3, 2026
Merged

fix: cursor-not-allowed on disabled button#568
jrasm91 merged 2 commits intomainfrom
fix/button

Conversation

@meesfrensel
Copy link
Collaborator

Other form inputs have cursor-not-allowed when they're disabled, but not the button. Now it does.

This also fixes a bug where the dropdown button of a Select has cursor-pointer but the rest of the component has cursor-not-allowed (see immich-app/immich#25787)

I think removing disabled:pointer-events-none is not a problem since the bits-ui button does it's own disabled checking. And since the button is disabled the browser should not activate onclicks etc.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2026

📖 Preview of ui.immich.app deployed to ui.pr-568.dev.immich.app

@jrasm91 jrasm91 merged commit 0a4f49c into main Feb 3, 2026
7 checks passed
@jrasm91 jrasm91 deleted the fix/button branch February 3, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants