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

Fixed clipped calendar toggle in Firefox #1213

Merged
merged 3 commits into from
Feb 27, 2023

Conversation

bunesk
Copy link
Contributor

@bunesk bunesk commented Feb 25, 2023

Fixes #1212

This PR fixes that the calendar toggle gets clipped since Firefox 109. The reason for that is that the clear icon which was automatically added was removed. So the problem which we had before in #791 is solved so I removed theclip-path and the user agent sniff.

@vercel
Copy link

vercel bot commented Feb 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
shoelace ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 27, 2023 at 5:04PM (UTC)

@claviska
Copy link
Member

Thanks for the PR. To clarify, Firefox, no longer renders their own clear button now? Do we know when this changed?

@bunesk
Copy link
Contributor Author

bunesk commented Feb 25, 2023

Yeah, it's no longer rendered. It was removed in Firefox 109 like mentioned here. If I read it right it will be re-added in the date picker panel instead in Firefox 112. Also in Version 110 they've added a shortcut to clear a date/time input.

@claviska claviska merged commit dde1010 into shoelace-style:next Feb 27, 2023
@claviska
Copy link
Member

Looks great! Thanks for the PR.

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

Successfully merging this pull request may close these issues.

Broken calendar toggle in <sl-input type="date" /> on latest Firefox
2 participants