MudBlazor/MudBlazor

[MudTooltip] Incorrect body height/scrollbar behavior

クローズ

#6,021 opened on 2022/12/20

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,631 件のフォーク)batch import
bughas workaroundhelp wanted

Repository metrics

Stars
 (10,394 個のスター)
PR merge metrics
 (平均マージ 6d 6h) (30d で 108 merged PRs)

説明

Bug type

Component

Component name

MudTooltip

What happened?

Hovering a Tooltip component on a long page prevents the body/html to shrink when navigating to a compact page. To 'recover' from this, just hover the tooltip a few times. Watch this behavior in the video:

https://user-images.githubusercontent.com/74019196/208635034-e2676e34-1bfe-4dc8-ba3c-9e8d07d6d258.mp4

I've created a basic as possible repo for this based on a 'Blazor Server Empty' project.

Expected behavior

The page size/scrollbar behaves normally without hovering the tooltip. The expected behavior is that hovering the tooltip shouldn't interfere with the page height.

https://user-images.githubusercontent.com/74019196/208635649-9b9dbe75-041e-4e56-9954-a22a89368003.mp4

Reproduction link

https://github.com/xfxJeroen/MudToolTipTest

Reproduction steps

  1. Scroll (half way) down on a large page.
  2. Hover the MudToolTip.
  3. Navigate to a small page.
  4. Notice the page size/scroll bar.
  5. Hover the MudToolTip (multiple times)
  6. Watch the small page shrink to the correct height.

Relevant log output

No response

Version (bug)

6.1.6

Version (working)

No response

What browsers are you seeing the problem on?

Microsoft Edge

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

コントリビューターガイド