MudBlazor/MudBlazor

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

开放

#6,270 创建于 2023年2月3日

 (4 条评论) (0 个反应) (0 位负责人)C# (1,631 个派生)batch import
buggood first issue

仓库指标

星标
 (10,394 个星标)
PR 合并指标
 (平均合并 6天 6小时) (30 天内合并 108 个 PR)

描述

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

贡献者指南