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 content isn't scrolled when navigating with keyboard arrow down / arrow up #10355

Closed
2 tasks done
ilbrando opened this issue Sep 16, 2023 · 3 comments
Closed
2 tasks done
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module!

Comments

@ilbrando
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/mui-treeview-scroll-sfv7v7?file=/Demo.tsx

Steps:

  1. Select an item in the treeview
  2. Press arow down multiple times
  3. When the focused item is out of view the items arent scrolled
  4. If you manually scroll you can scrolle down to the focused item and see that it has focus

Current behavior 😯

The items arent scrolled

Expected behavior 🤔

The items to be scrolled

Context 🔦

No response

Your environment 🌎

Forked sandbox from the documentation

Order ID or Support key 💳 (optional)

No response

@ilbrando ilbrando added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 16, 2023
@oliviertassinari oliviertassinari added the component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! label Sep 16, 2023
@oliviertassinari
Copy link
Member

Duplicate of #9961?

@ilbrando
Copy link
Author

Yeah you’re right. I must have made a bad search, sorry.

@michelengelen
Copy link
Member

closing in favor of #9961

Thanks @ilbrando

@zannager zannager removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

4 participants