Closed jhomudev closed 4 months ago
Hey,
I also have this issue
The "pointer-events: none" style using the shadcn sheet component was solved in my case by deleting the package.lock.json file and the node modules folder and running npm install
again
Hey, somebody already reported this issue: https://github.com/pacocoursey/cmdk/issues/245
They came to 2 different solutions (this is related to the cmdk 0.2.1 to 1.0.0): https://github.com/pacocoursey/cmdk/issues/245#issuecomment-2031580824.
When adding the command component to my project, and using it, the styles of the list items occupy "disabled" styles.
Which was fixed by setting them true:
I also saw that when using this component inside the shadcn sheet component, it inherits the style of "pointer-events: none;" from body tag