You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which is not picked up correctly for me in Chrome Version 126.0.6478.127 (arm64) on MacOS.
I haven't looked through the rest of the PR but the name suggests it focuses on Charts, so seeing such changes included to the Command, I think there is a risk of similar changes/issues in other parts as well.
Affected component/components
Command (i.e., Command, Combobox, etc.)
How to reproduce
Include any Command demo (e.g. Command, Combobox), and do not disable Command Items
Expected: Command Items should be selectable with a cursor Actual: Command Items items are always greyed out and no longer selectable with a cursor
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Google Chrome 126.0.6478.127 (arm64)
macOS 14.5
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Having the same issue. Reverting this change helps.
I don't think it's a chrome problem though because chrome handles this as expected:
data-[disabled=true]: only triggers when disabled is set to true
data-[disabled]: triggers if disabled is set to any value
For some reason the intention was to just check if the data-disabled attribute is set at all, ignoring its value.
i have the same issue.
when use command components like this way:
web page response: disable components, mouse hover isn't work.
remove ui/command.tsx code:
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
it's working!
Describe the bug
With the recent changes coming in from #4181, the CSS classes specified for
CommandPrimitive.Item
have changed:ui/apps/www/registry/default/ui/command.tsx
Line 120 in c8ad3c2
The problematic change is going from
to
which is not picked up correctly for me in Chrome Version 126.0.6478.127 (arm64) on MacOS.
I haven't looked through the rest of the PR but the name suggests it focuses on Charts, so seeing such changes included to the Command, I think there is a risk of similar changes/issues in other parts as well.
Affected component/components
Command (i.e., Command, Combobox, etc.)
How to reproduce
Expected: Command Items should be selectable with a cursor
Actual: Command Items items are always greyed out and no longer selectable with a cursor
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: