MudBlazor/MudBlazor

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

Offen

#6.270 geöffnet am 03.02.2023

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.631 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (10.394 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 6h) (108 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide