iTwin / viewer-components-react

Components built on iTwin.js for usability in an iTwin.js based Viewer.
MIT License
24 stars 33 forks source link

Tree widget: Keyboard navigation doesn't work in Models tree #1032

Closed grigasp closed 3 weeks ago

grigasp commented 3 weeks ago

Repro:

  1. Open test viewer.
  2. In the tree widget's Models tree, click on the "show all" header button to focus it.
  3. Click TAB key until the "apply filter" button is focused.
  4. Click TAB one more time - notice the focus is gone: Image

Expected behavior: the next node is focused.

saskliutas commented 3 weeks ago

This works as designed. You can navigate tree with keyboard using arrows keys and use TAB key to reach interactable elements (checkbox, buttons) inside tree node.