Autocomplete always with light background? #2331
Replies: 4 comments
-
Hi @LuisSousaSilva, please describe your issue clearly, and add details about it - provide a snippet of your code, configuration and content of your error messages if there are any. |
Beta Was this translation helpful? Give feedback.
-
Hi. I'm more than happy to. Just didn't know if i could since code is blocked to non pro users. But it's just the autocomplete example in dark mode. For some reason i was not able to do a snippet with pro version. This is the best i could do. Sorry for the trouble.
Code:
|
Beta Was this translation helpful? Give feedback.
-
Do you have the
|
Beta Was this translation helpful? Give feedback.
-
Thanks. You gave me the confidence that there was no problem with the component. I was not applying the dark mode consistently: Consistent Dark Mode Application: Ensure that the dark class is being applied correctly throughout your application. This class should be on a parent element of the components you wish to style in dark mode, typically on the or tag. This way, the dark mode styles can cascade down to your components. By Chat GPT "Just" had to "activate" dark in some parent divs. Cheers |
Beta Was this translation helpful? Give feedback.
-
Do i have to change anything? It's Working great with light background but with dark background it does not adapt and the white letters become invisible!
This is the example from https://tw-elements.com/docs/standard/forms/autocomplete/ => Asynchronous search
Beta Was this translation helpful? Give feedback.
All reactions