Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

ToolbarMenuItem should not focus menu trigger after select. #2249

Closed
microsoft/fluentui
#12266
@miroslavstastny

Description

@miroslavstastny

Bug Report

Steps

  1. have a Toolbar with a ToolbarMenu
  2. set focus to custom element in ToolbarMenuItem's onClick handler

Expected Result

The custom element is focused after the ToolbarMenuItem is clicked

Actual Result

ToolbarMenuItem's trigger is focused 💣

Version

0.43.0

Testcase

https://codesandbox.io/s/fluent-ui-example-zerm9

Metadata

Metadata

Assignees

No one assigned

    Labels

    vstsPaired with ticket in vsts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions