Popover Menu Content
sutaungmai opened this issue · comments
Hi, I got disabled popover like below from the image. I can't click on anything. It seems CommandItem
components from shadcn got applied data-disabled
attribute set to false. I have no idea how to solve it in the code, but I manage to remove that attribute from the inspect the items can be clickable again.
Ahha! Thanks mate. It does work.
Or another option is to add the following styles to each CommandItem component:
<CommandItem style={{ pointerEvents: "auto", opacity: 1 }}>