Skip to content

[Speed Dial] Passing disabled prop to SpeedDialAction displays a warning in console #15216

Description

@JCQuintas

If you pass { disabled: true } to SpeedDialAction ButtonProps you get a message on the console saying:

Warning: Material-UI: you are providing a disabled `button` child to the Tooltip component.
A disabled element does not fire events.
Tooltip needs to listen to the child element's events to display the title.

Place a `div` container on top of the element.

Expected behaviour: No warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: speed dialChanges related to the speed dial.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions