-
Notifications
You must be signed in to change notification settings - Fork 50
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
Text inputs have a white background from chrome autocomplete suggestions on Windows #511
Comments
@mauritskorse can you please also share what OS you are using and what Chrome version you are on. Thanks! |
I have it on various chrome-based browsers on Win 11:
I cant reproduce it on Firefox. |
Thanks for this report - I think I recall hearing about this at some point early-on, but then pulling a "works on my machine". I think this is only something that happens on Windows. Anyhow, thanks for providing the CSS fix. As soon as I can test this on windows I will try to address it. |
@mauritskorse I was just looking at this again and noticed you are using Tailwind Forms. If you remove that, does it fix the issue? |
Nope, unfortunately... |
@mauritskorse You mention your Flux version is 1.0.14. The current version is 1.0.29. Could you please?:
and see if that helps? |
@mauritskorse I've just tested this on two computers, one with Win 10 and the other Win 11, both using Chrome, one was on Chrome 122 and the other Chrome 131. Both computers displayed the input you provided as I would expect. I'm going to close this issue as we cannot replicate it. Feel free to open a new issue if you find a way we can consistently replicate the issue. |
I want to leave here my two cents. The blueish background only appears if the field value has been selected from one of the autocomplete options. Using the following code, once the form is submitted it displays the Tested on Windows 10 using 131 and Flux version 1.0.32. <div>
<form class="space-y-4" wire:submit="submit">
<flux:input wire:model="name" label="Name" />
<flux:button type="submit">Save</flux:button>
</form>
</div> <?php
namespace App\Livewire;
use Livewire\Component;
class Test extends Component
{
public $name = '';
public function render()
{
return view('livewire.test');
}
public function submit()
{
dd('Record saved successfully.');
}
} FYI: Tailwind UI and shadcn/ui does not remove this blueish background on Chrome either. |
Once again a weird chrome issue.
The built in autocomplete suggestions provided by Chrome cause the background color of the input fields to turn white when hovering over the suggestions. See the two screenshots (first is normal state, second is when hovering over the suggestions.)
My setup is a new laravel project, flux pro 1.0.14, tailwind uses darkMode through selector
To fix the issue I could add the following css:
The text was updated successfully, but these errors were encountered: