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] Add preventScroll for tree focus #24105

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

praveenkumar-kalidass
Copy link
Contributor

What does it do?

Add prevent scroll when DOM tree is focused, which disables scroll to view of the focused element.

Why is it needed?

preventScroll should restrict scroll, hence preventing scroll jump

Related issue(s)/PR(s)

Closes #24096

@mui-pr-bot
Copy link

mui-pr-bot commented Dec 23, 2020

Details of bundle changes

Generated by 🚫 dangerJS against b070794

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! labels Dec 23, 2020
@oliviertassinari
Copy link
Member

@praveenkumar-kalidass Thanks, great test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TreeView] Scroll jump bug
3 participants