Skip to content

Remove vendored Flatpickr library#395

Open
TheSyscall wants to merge 1 commit into
mainfrom
remove-flatpickr
Open

Remove vendored Flatpickr library#395
TheSyscall wants to merge 1 commit into
mainfrom
remove-flatpickr

Conversation

@TheSyscall

@TheSyscall TheSyscall commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Flatpickr was added as a polyfill to provide a date/time picker UI for browsers lacking native <input type="datetime-local"> support, most notably Firefox at the time.

Both Firefox and Safari have since shipped native support:

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/datetime-local#browser_compatibility

The datetime picker behavior checks for native browser support and skips initializing Flatpickr when it detects it. Since modern Firefox and Safari both pass that check, Flatpickr is never actually activated in any browser in use today, and removing it causes no visual or functional regression.

requires:

Flatpickr was added as a polyfill to provide a date/time picker UI for
browsers lacking native `<input type="datetime-local">` support, most
notably Firefox at the time.

Both Firefox and Safari have since shipped native support:

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/datetime-local#browser_compatibility

The datetime picker behavior checks for native browser support and
skips initializing Flatpickr when it detects it. Since modern Firefox
and Safari both pass that check, Flatpickr is never actually activated
in any browser in use today, and removing it causes no visual or
functional regression.
@TheSyscall
TheSyscall requested a review from lippserd July 17, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants