-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[DateRangeCalendar] should we move forward/backward based on calendars
prop
#10099
Comments
Hey! 👋 This is an interesting point 🤔 To make sure I understood correctly, if you have I'm interested to hear about your use-case a bit more 🤔 I will bring this up with the team, maybe we can discuss a solution to allow customization of the behavior when the selected month changes 💯 |
Hi, @noraleonte thank you very much for the response 😊 Yes, that's what I originally meant about a big jump when clicking the Moreover, thanks to your reply, I now understood what exactly I expect from this component, which is to allow our end users to have the ability to move faster, for example, we can keep the original design ( moving one month at a time ), while adding a Lastly, please allow me to talk about my use case briefly. So I'm working on a dental booking app, and I need a component that can render multiple months at a time but only expect users to choose one single date at a time. Unluckily, neither Once again, thank you for your reply, which really made me learn something new today 👍😁 |
We decided to start by providing a documentation example of achieving something like this by customizing the |
How did we do @MyNameIsTakenOMG? |
I have been recently working on a personal project, a dental booking app, which gave me a chance to play with this powerful component --
dataRangeCalendar
a bit. But I found something that makes me a little confused, which is when we click theprevious
ornext
button, we only move one month at a time, no matter how many months we display on the screen. I understand this may sound not a big deal, but my point is this componentdateRangeCalendar
allows us to show more months or info to end users, then why do we only do it for the first time? For example, we show 3 months on the screen, and each time we click theprevious
ornext
button, we could let our users see 3 new months, which can help them move back and forth much faster to go to the date they are looking for, isn't it a good user experience?I knew this could be a stupid question because I missed out something. But, I'd very much like to know what you think about it, especially when you are designing this component.
BTW, I made this demo: https://codesandbox.io/p/github/MyNameIsTakenOMG/mui-x-date-calendar-demo/main , hopefully, it could help me explain this issue a little bit clearer for you guys if my description confused you! (my apology, English is my second language😂)
The text was updated successfully, but these errors were encountered: