Sqrrl / wc-datepicker

A small, accessible and customizable datepicker written in TypeScript.
https://sqrrl.github.io/wc-datepicker
MIT License
54 stars 6 forks source link

[QUESTION] Show/hide widget #22

Closed Bilge closed 7 months ago

Bilge commented 7 months ago

There really isn't a method to show/hide the picker? Or better yet, show/hide automatically when an input receives/loses focus?

Sqrrl commented 7 months ago

Nope, sorry. Intentionally out of scope. I don’t want to bloat this lib by implementing specific use cases. Connecting it to an input field should be pretty straight forward. You can check the docs page source for an example. If you want to use it with a popover, I suggest https://floating-ui.com/.