N00nDay / stwui

Opinionated yet customizable Svelte-TailwindCSS component library
stwui.vercel.app
MIT License
447 stars 21 forks source link

DatePicker can not switch to next/prev month/year if already has value #214

Closed rey5137 closed 8 months ago

rey5137 commented 8 months ago

Current Behavior

When DatePicker has value, and you want to switch to next/prev month/year in dropdown, The UI is animated but the current month stayed the same as current value.

Expected Behavior

The current month should be switched to next/prev month/year

Steps To Reproduce

  1. Choose a value for DatePicker
  2. Click DatePicker again to open dropdown
  3. Click Next/Prev month/year button

Link to Reproduction / Stackblitz

No response

More Information

No response

denuser commented 8 months ago

Fixed in 0.21.2-next, could you check it?

rey5137 commented 8 months ago

I confirmed this is fixed in 0.21.2-next. Thanks