Skip to content

Hovering toolbar items does not add data-highlighted attribute #3094

@nate-lumalabs

Description

@nate-lumalabs

Bug report

Current behavior

Hovering or focusing items in a Toolbar does not apply data-highlighted attribute to them.

Expected behavior

According to the docs, and using the Menu component as an example, I expected the toolbar to receive data-highlighted when being hovered.

Reproducible example

This issue is visible in the example at the top of the BaseUI Menu page: https://base-ui.com/react/components/toolbar

Inspect one of the button tags within the toolbar, and then hover over it, you'll see that it does not gain any data- props.

Base UI version

1.0.0-beta.4

Which browser are you using?

Chrome

Which OS are you using?

Mac OS

Which assistive tech are you using (if applicable)?

None

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: toolbarChanges related to the toolbar component.docsImprovements or additions to the documentation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions