MudBlazor/MudBlazor

[MudTooltip] Incorrect body height/scrollbar behavior

Geschlossen

#6.021 geöffnet am 20.12.2022

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.631 Forks)batch import
bughas workaroundhelp wanted

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

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

Contributor Guide