Repository navigation
[DatePicker] Added OnDoubleClick event and DoubleClickToDate parameter - #2567
Conversation
…ed test for OnDoubleClick event.
|
All is fine for me. Vincent Baaij (@vnbaaij) ? Ricky (@RickyLin) Could you update the title and description of the PR so that they are consistent with the last modification: |
|
Hi Denis Voituron (@dvoituron), |
|
In addition, is there a better Blazor/C# solution coming up which addresses the current |
I would like to try to find a solution to extend this |
|
Ricky (@RickyLin) I found a solution using the |
…icrosoft#2567) * [FluentDatePicker] Added OnDoubleClick event and DoubleClickToToday parameter. * [DatePicker] DoubleClickToToday was changed to DoubleClickToDate. Added test for OnDoubleClick event.

Pull Request
📖 Description
OnDoubleClickevent to DatePicker component.DoubleClickToDateparameter to DatePicker component.DoubleClickToDateoption🎫 Issues
The PR was related to
👩💻 Reviewer Notes
This is the first PR of the 2 separated PRs asked by Denis Voituron (@dvoituron) which implemented the
DoubleClickToDatefeature only.📑 Test Plan
This PR kept the
FluentOverlayas-is, so it's very difficult to trigger the double-click event on the text field of the date picker, thus difficult to see this feature works. Commenting out theFluentOverlaytemporarily could help a lot during the manual tests.However, the
FluentOverlayhas no side-effect when running the test methodFluentDatePicker_DoubleClickToSetTodayInTextField, so it runs successfully. I think that's a sample of the cases that automatic tests are not exactly the same as manual tests.✅ Checklist
General
Component-specific
⏭ Next Steps
I'll move the rest "
FluentOverlayreplacement" part of the original PR #2563 to a new PR.