MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

MatTooltip with disabled MatButton using RefBack="@context" does not show Tooltip

Open Ogglas opened this issue 4 years ago • 1 comments

Describe the bug As the title says, MatTooltip with disabled MatButton using RefBack="@context" does not show Tooltip. Works when the button is not disabled.

To Reproduce

Use this code:

<MatTooltip Tooltip="My tooltip">
    <MatButton RefBack="@context" Disabled="true">Button</MatButton>
</MatTooltip>

https://www.matblazor.com/Tooltip

Blazorfiddle link:

https://blazorfiddle.com/s/6xa8ljg3

Expected behavior Show Tooltip

Ogglas avatar Mar 13 '21 00:03 Ogglas

Thanks for reporting @Ogglas , I recently saw this issue. We always welcome contributions!

Christian-Oleson avatar Mar 13 '21 04:03 Christian-Oleson