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

[docs] Date Range Customization Playground does not fit on smaller screens #13736

Closed
TheOneTheOnlyJJ opened this issue Jul 5, 2024 · 6 comments · Fixed by #13742
Closed

[docs] Date Range Customization Playground does not fit on smaller screens #13736

TheOneTheOnlyJJ opened this issue Jul 5, 2024 · 6 comments · Fixed by #13742
Assignees
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation support: docs-feedback Feedback from documentation page

Comments

@TheOneTheOnlyJJ
Copy link

TheOneTheOnlyJJ commented Jul 5, 2024

Related page

https://mui.com/x/react-date-pickers/playground/

Kind of issue

Broken demo

Issue description

image
As you can see, the date range component from the playground demo does not fit on smaller screens.
It is not possible to go to the next months on the picker, as only the Left Arrow Icon Button is visible.

Context

Information for my screen is the following:
image

Search keywords: picker customization

@TheOneTheOnlyJJ TheOneTheOnlyJJ added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels Jul 5, 2024
@TheOneTheOnlyJJ TheOneTheOnlyJJ changed the title [docs] [docs] Date Range Customization Playground does not fit on smaller screens Jul 5, 2024
@LukasTy LukasTy self-assigned this Jul 5, 2024
@LukasTy LukasTy added bug 🐛 Something doesn't work docs Improvements or additions to the documentation component: pickers This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jul 5, 2024
@LukasTy
Copy link
Member

LukasTy commented Jul 5, 2024

Thank you for reporting this problem. 🙏

@TheOneTheOnlyJJ
Copy link
Author

I've found it's because of "Static desktop mode". It may not be a bug after all, and just my option configuration mistake.

@LukasTy
Copy link
Member

LukasTy commented Jul 5, 2024

I've found it's because of "Static desktop mode". It may not be a bug after all, and just my option configuration mistake.

It's not ideal—a horizontal overflow is desirable in this case. 😉

@TheOneTheOnlyJJ
Copy link
Author

Also, note that the "Show days outside current month" option does not seem to apply. I don't know if it should be for side-by-side month pickers like that one. If it should apply, this may not be a docs issue.

@LukasTy
Copy link
Member

LukasTy commented Jul 5, 2024

Also, note that the "Show days outside current month" option does not seem to apply. I don't know if it should be for side-by-side month pickers like that one. If it should apply, this may not be a docs issue.

That is the intended behavior.

showDaysOutsideCurrentMonth={calendars === 1 && showDaysOutsideCurrentMonth}

The UX/UI with multiple calendars and that property would be "strange". 🤔

Copy link

github-actions bot commented Jul 8, 2024

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@TheOneTheOnlyJJ: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation support: docs-feedback Feedback from documentation page
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants