Skip to content

IconButton with tooltip is incompatible with ButtonGroup #5452

@iansan5653

Description

@iansan5653

When IconButton renders tooltips, it inserts an additional element after the button. This in turn breaks ButtonGroup's use of the :last-child selector to set border-radii, causing an IconButton at the end of a ButtonGroup to have square corners:

Screenshot showing normal button and icon button inside a button group. The icon button's right-side corners are squared off even though it is the last item in the group

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions