-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[pickers][DateTimeRangePicker] selecting the same date for the second part of the range does not work as expected #12586
Comments
Here a video detailing the bug: |
I have tried it under Firefox and Chrome |
@LukasTy It does seem like clicking the previously selected date will reselect the starting range and not even focus the endrange value as well. It is also broken on the other DateTimeRangePicker components, not only the one with the single input field |
How did we do @cwittlinger89? |
@cwittlinger89 Thank you for reporting this and trying the new component! 🙏 |
@LukasTy Until now we are using a lot of Mui(x) components and are generally very happy about them. The Datetime Range picker was something we are looking forward to since December, as it is our last non-mui component that we have to fully maintain. From a first glance we like it, however there is one thing that takes a bit getting used to:
As we have not yet released the mui-picker due to the aforementioned bug, we do not know how our users will react to this change. Generally speaking it would be cool if our methodology would be supported as well. |
@LukasTy I could have sworn that it worked earlier with 7.1.0, now it again does not work at all. |
@cwittlinger89 It shouldn't have worked before the fix, the code is deterministic and will always result in the first day being overridden if the same day is selected. As for your comment regarding the selection flow, I've created a separate issue with more information for it: #12635. |
When will this fix be live? Because under 7.1.0 it does not work.
I will |
With the next release that we usually do every Thursday (it is sometimes delayed in case of a complex release-changelog). |
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
The first time switches to 12:00 PM
Expected behavior
The first time should stick with 4:00 PM and do not jump back to 12:00 PM
Context
No response
Your environment
npx @mui/envinfo
Search keywords: DatetimeRange Picker
Order ID: 77969
The text was updated successfully, but these errors were encountered: