feat(#3370): Date Picker and and Calendar improvements#3376
Conversation
ced0876 to
0c1c66e
Compare
0c1c66e to
f5643b9
Compare
f5643b9 to
53186d7
Compare
6fec990 to
13b4a79
Compare
vanessatran-ddi
left a comment
There was a problem hiding this comment.
The bug is fixed.
13b4a79 to
7e5ac15
Compare
|
@chrisolsen This is ready to be merged |
b232370
7e5ac15 to
b232370
Compare
|
@chrisolsen This is ready to be merged |
b232370 to
19eaef7
Compare
|
🎉 This PR is included in version 1.41.0-dev.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 6.11.0-dev.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 4.11.0-dev.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.11.0-dev.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.41.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.11.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 6.11.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 4.11.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.41.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 6.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 4.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 7.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 5.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 5.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Before (the change)
Lots of issues that are fixed in this PR:
After you selected January 31 you could not change the calendar to February, or any month with <31 days in it. There was a bug where the day selected would be kept, making it invalid and preventing the calendar redrawing (February 31 is not valid).
For the Calendar and DatePicker a new value is never propagated unless a date is clicked on.
When a date is selected in the Calendar that is the only day that is selected. Before, in some situations, if you selected a date like February 15, changing the month to March would show March 15 selected.
When a date is selected the Calendar might not show that day as selected if you changed the month or year, and then returned the calendar to the month of the selected date. For example if you selected February 15, 2026 and changed the month to March, changing it back might not show February 15, 2026 as selected anymore.
After (the change)
These things are all fixed!
There are a lot of changes that involve using
.clone()with_currentDateand_selectedDate. This is because most of the errors were caused by using the same object references, so changes to one changed the other.Unfortunately there are a few changes caused by Prettier also.
Make sure that you've checked the boxes below before you submit the PR
Steps needed to test