MudBlazor/MudBlazor

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

Aberta

#6.270 aberto em 3 de fev. de 2023

 (4 comentários) (0 reação) (0 responsável)C# (1.631 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (10.394 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 6h) (108 fundiu PRs em 30d)

Description

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

Guia do colaborador