-
Hello Tailwind Community, I'd like to ask for help on how to fix this strange bug (?) I've encountered while working on my project. I have an input field and some text underneath it. When I focus the input field, the underneath it gets thinner by like 1 or 2 pixels. It's driving me insane because it's very noticeable when the text is red and the background is dark. Ideally, The text's style is not affected by the input's gaining focus whatsoever. It only happens on desktop and when the background is a dark color. Demo OR (idk when the tailwindcss playground link expires)
Screenshots And after the input is focused: My Thought Process Any help would be very much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can try moving the text to its own rendering layer by adding |
Beta Was this translation helpful? Give feedback.
You can try moving the text to its own rendering layer by adding
transform-gpu
orwill-change-transform
class to it.