Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeView loses focus under some conditions #1874

Closed
1 of 3 tasks
mr04vv opened this issue Sep 16, 2024 · 1 comment
Closed
1 of 3 tasks

TreeView loses focus under some conditions #1874

mr04vv opened this issue Sep 16, 2024 · 1 comment

Comments

@mr04vv
Copy link

mr04vv commented Sep 16, 2024

Description

The following is when operating with Keyboard only.
If you open a parent node, select a child node, and then close the parent node and then focus on a non-TreeView, you will not be able to focus on the TreeView.

Link to Reproduction (or Detailed Explanation)

https://ark-ui.com/react/docs/components/tree-view

Steps to Reproduce

  1. Go to https://ark-ui.com/react/docs/components/tree-view
  2. Press the Tab key to focus on item 1
  3. Press the Right Arrow key to open item 1
  4. Press the Right Arrow key to focus on item 1.1
  5. Press the Enter key to select item 1.1
  6. Press the Left Arrow key to focus on item 1
  7. Press the Left Arrow key to close item 1
  8. Press the Tab key to focus on next element(Not treeview)
  9. Press the Shift + Tab key to focus on TreeView

TreeView does not get focus after 9 operations.

Twitter.video.mp4

Ark UI Version

3.12.0

Framework

  • React
  • Solid
  • Vue

Browser

No response

Additional Information

No response

@segunadebayo segunadebayo transferred this issue from chakra-ui/ark Sep 21, 2024
@segunadebayo
Copy link
Member

Duplicate of #1751. Will work on a fix for this shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants