MudBlazor/MudBlazor
MudDatePicker: Month/year selector appears on the wrong calendar when DisplayMonths > 1
Aperta
#6270 aperta il 3 feb 2023
buggood first issue
Metriche repository
- Star
- (10.394 stelle)
- Metriche merge PR
- (Merge medio 6g 6h) (108 PR mergiate in 30 g)
Descrizione
Bug type
Component
Component name
MudDatePicker
What happened?
If you use MudDatePicker with DisplayMonths = 2 (or more) then when you click on the header of the right date the "month/year" selector appears on the left date. For the left header - it works ok.

Expected behavior
if you click on the left header -> appears on the left side; if you click on the right header -> appears on the right side;
Reproduction link
https://try.mudblazor.com/snippet/mOmnOQOnxHbmwMIA
Reproduction steps
- Click on the date selector;
- Click on the right date title header;
- Month selector displays on the left side (should be on the right);
Relevant log output
No response
Version (bug)
6.2.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request
- I would like to do a Pull Request
Code of Conduct
- I agree to follow this project's Code of Conduct