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
Description
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.