Skip to content
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

Date picker - Input trigger - Visual bug #1102

Open
3 tasks done
0hra opened this issue Feb 19, 2025 · 4 comments
Open
3 tasks done

Date picker - Input trigger - Visual bug #1102

0hra opened this issue Feb 19, 2025 · 4 comments

Comments

@0hra
Copy link

0hra commented Feb 19, 2025

Flux version

v2.0.0

Livewire version

v3.5.19

Tailwind version

v4.0

What is the problem?

As shown in the documentation. Two calendar icons displayed:
Image

Code snippets

<flux:date-picker wire:model="date">
    <x-slot name="trigger">
        <flux:date-picker.input />
    </x-slot>
</flux:date-picker>

How do you expect it to work?

It shouldn't have two identical icons in a row?

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.
@joshhanley
Copy link
Member

@0hra thanks for reporting! What operating system and browser are you using?

@0hra
Copy link
Author

0hra commented Feb 19, 2025

@joshhanley
Firefox 135.0.1 and macOS (Sequoia)

@0hra 0hra changed the title Datepicker - Input trigger - Visual bug Date picker - Input trigger - Visual bug Feb 19, 2025
@bzarzuela
Copy link

This happened on Safari for me as well but only when I hit the back button on the browser. When I refresh, the problem is resolved.

@joshhanley
Copy link
Member

I've investigated this and it seems that there is no easy way to hide the default date input icon on firefox, where as for chrome and safari we have hidden it using css.

@bzarzuela I suspect with your issue on safari, the css to hide the default icon isn't being applied again when the back button is pressed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants