Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Items disabled under CommandList #236

Closed
ezraanglo opened this issue Mar 13, 2024 · 4 comments
Closed

Command Items disabled under CommandList #236

ezraanglo opened this issue Mar 13, 2024 · 4 comments

Comments

@ezraanglo
Copy link

Hi! First I wanna thank you for this library! It's been a time saver for me ~

So I just upgraded to the latest version and I'm using shadcn/ui.
I don't know if its just me but the command items are disabled after the update.

I can see the CommandList is now required on the new version. Maybe I'm missing some props to have them enabled? Really appreciate any help!

@nenya1840
Copy link
Contributor

+1

@nenya1840
Copy link
Contributor

in your project components/ui/command.tsx

can change from
data-[disabled]:pointer-events-none data-[disabled]:opacity-50
to
data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50

@nenya1840
Copy link
Contributor

can check here
shadcn-ui/ui#2944

@pacocoursey
Copy link
Owner

Yep, thanks. I'll add a note to the release notes because this is technically a breaking (CSS) change.

@pacocoursey pacocoursey closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
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

No branches or pull requests

3 participants