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.

Focusable components should expose a public focus method #1555

Open
@jurokapsiar

Description

@jurokapsiar

Feature Request

Problem description

It is very hard to focus components explicitly, especially if the components have multiple slot.

Proposed solution

Actionable (Button, Menu.Item, Toolbar.Item, List.Item, Tree item/title), input (Input, Checkbox, Radio, Dropdown) and container (Menu, Toolbar, List, Tree) components should expose a public focus() method. The user can then obtain a ref to the component and call focus() on it without having to figure out, which slot to focus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityAll the Accessibility tasks and bugs should be tagged with this.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