-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Slightly blurred text on CommandItem #307
Comments
I Have the same issue with even more blurr. Also using shadcn Code: https://gist.github.com/notlimey/4eb5f5922014c3fc718d6749fc8c384a |
I'd like to add to this. I'm getting blurry text when I add TWO buttons, and the blurriness goes away if I remove one of them.
|
Update: The issue seems to be that there is a max # of HTML elements allowable inside any given Command.Item, because I started commenting things out and the blurriness went away |
Update: Getting closer to the issue. I removed literal characters inside the element and the blurriness went away. I put back the characters, blurriness came back; I increased the width of my parent component, and the blurriness went away again. The issue has to do with the Command Item width hitting the bounds of its parent component |
Same issue |
All the content I put inside
CommandList
is getting blurry in Chrome due toborder-b
class onCommandInput
. This is the JSX I'm using:The



CommandInput
withborder-b
class:The
CommandInput
withoutborder-b
class:Setting
border-radius
tounset
inDialog
also works (if you are using Radix UI):Notes and Workarounds
border-b-2
everthing works as expected;border-b
everthing works as expected;Dialog
from shadcn/ui: https://ui.shadcn.com/docs/components/command;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
.The text was updated successfully, but these errors were encountered: