Skip to content

Conversation

@FyreByrd
Copy link

@FyreByrd FyreByrd commented Feb 5, 2025

The Flatpickr component has an optional fallback for its default slot here.
The current typing, as far as Svelte 5 is concerned, expects something to always be provided to go in the slot.
Making the children prop optional means that Svelte 5 will now allow the optional fallback to be used instead of always expecting something to be provided for the slot.

@pajohns
Copy link

pajohns commented Apr 25, 2025

When will this be merged? It's broken all my Flatpickr components and forced me to create my own typing until this is resolved.

@FyreByrd
Copy link
Author

When will this be merged? It's broken all my Flatpickr components and forced me to create my own typing until this is resolved.

Good question. I don't have write permissions, otherwise I'd have done it myself lol. I ended up switching to svelte-flatpickr-plus since it's a bit more active.

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.

2 participants