MudBlazor/MudBlazor

MudTooltip: Style and Class ignored, not rendered on root element

開放

#3,912 建立於 2022年2月9日

 (2 則留言) (0 個反應) (0 位負責人)C# (1,631 個分叉)batch import
buggood first issuehas workaround

倉庫指標

星標
 (10,394 顆星)
PR 合併指標
 (平均合併 6天 6小時) (30 天內合併 108 個 PR)

描述

Bug type

Component

Component name

MutTooltip

What happened?

The Style parameter seems to not affect the component at all. Looking at the code it looks like it's not used anywhere -- it is bound as part of MudComponentBase, but in the toolbar's div it's not used.

This can be worked around by passing style as a UserAttribute, but it's obviously less than ideal.

Expected behavior

The style passed in Style is correctly used as the toolbar's div's style.

Reproduction link

https://try.mudblazor.com/snippet/QOGcYmaXVTXcwlLJ

Reproduction steps

  1. Make a MudToolbar.
  2. Add a Style property.
  3. The style is not applied.

Relevant log output

No response

Version (bug)

6.0.6

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows, Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

貢獻者指南