MudBlazor/MudBlazor

MudDatePicker: Month/year selector appears on the wrong calendar when DisplayMonths > 1

Aperta

#6270 aperta il 3 feb 2023

 (4 commenti) (0 reazioni) (0 assegnatari)C# (1631 fork)batch import
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.

image_2023-02-03_10-09-49 image_2023-02-03_10-10-04

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

  1. Click on the date selector;
  2. Click on the right date title header;
  3. 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

Guida contributor