Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - datepicker only shows 6 days of the week #2979

Open
ManuelCarrascal opened this issue May 11, 2024 · 4 comments
Open

[BUG] - datepicker only shows 6 days of the week #2979

ManuelCarrascal opened this issue May 11, 2024 · 4 comments

Comments

@ManuelCarrascal
Copy link

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

image

image

Operating System Version

windows

Browser

Chrome

Copy link

linear bot commented May 11, 2024

@wingkwong
Copy link
Member

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.

image

@LucasLeone
Copy link

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'
                />
 

@ManuelCarrascal
Copy link
Author

I think the problem is in browsers that use base chromium because:

I was testing in chrome and it looks like this:
image

while in mozilla firefox it looks fine
image

I also tried brave to clear up doubts
image

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

No branches or pull requests

3 participants