Skip to content

[SF][Toolbar]: [Popover can't be opened when toolbar button is overflow] #8203

Closed

Description

@tandan0813

Describe the bug

  1. Please see the demokit: https://ui5.github.io/webcomponents-react/v2/?path=/story/layouts-floorplans-toolbar--open-popover
    When ToolbarButton is overflow into ... button, then the popover can't be opened.
Image
  1. Can't set accessibleRole for the ToolbarButton, if the button works like a link, then it will cause A11y issue.

Isolated Example

No response

Reproduction steps

...

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

2.18.0

UI5 Web Components Version

2.18.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Activity

  1. added theissue type on Feb 11, 2026
  2. Lukas742 commented on Feb 11, 2026

    @Lukas742
    Contributor

    Hi @tandan0813

    Please see my answers below.

    Please see the demokit: https://ui5.github.io/webcomponents-react/v2/?path=/story/layouts-floorplans-toolbar--open-popover
    When ToolbarButton is overflow into ... button, then the popover can't be opened.

    You can prevent this behavior by calling event.preventDefault() in the onClick handler of the ToolbarButton. Please see the description of the onClick prop:

    Note: Call event.preventDefault() inside the handler of this event to prevent its default action/s.

    We will add a note in our example, so this behavior becomes clearer (PR).


    Can't set accessibleRole for the ToolbarButton, if the button works like a link, then it will cause A11y issue.

    Please create separate issues for individual bugs, this way it's easier maintain for us. In this case you can create a new one directly in the ui5/webcomponents repo, as the Toolbar and all of its subcomponents are developed there.

  3. changed the issue type fromtoon Feb 11, 2026
  4. 281 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions