nextui
nextui copied to clipboard
[BUG] - datepicker only shows 6 days of the week
NextUI Version
^2.0.7
Describe the bug
I am using the default datepicker and when trying it I found an error that it does not load seven days a week but only six and I think that is wrong since in my case I need every day.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
just use the default datepicker component
Expected behavior
The default datepicker shows me all the days of the week but it is only showing six
Screenshots or Videos
Operating System Version
windows
Browser
Chrome
wondering if it is OS or browser problem. Can you screenshot the below storybook on your side?
https://storybook.nextui.org/?path=/story/components-datepicker--with-month-and-year-pickers&globals=locale:en-US
It looks fine on my side.
I tried in Safari and works, but in chrome doesn't work, why?
<DatePicker
label='Fecha'
showMonthAndYearPickers
value={selectedDate}
onChange={(e) => setSelectedDate(e)}
className='basis-full md:basis-5/12 mb-2 md:me-2 md:mb-0'
size='sm'
/>
I think the problem is in browsers that use base chromium because:
I was testing in chrome and it looks like this:
while in mozilla firefox it looks fine
I also tried brave to clear up doubts
Fixed in https://github.com/nextui-org/nextui/pull/3416