-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[fields] Reset all
selected state on section edit
#16223
[fields] Reset all
selected state on section edit
#16223
Conversation
Deploy preview: https://deploy-preview-16223--material-ui-x.netlify.app/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The behavior change makes a lot of sense 👌
all
selected state on section edit
My initial assumption was incorrect. |
Cherry-pick PRs will be created targeting branches: v7.x |
Fixes #16201.
The change resets theselectedSections
to theactiveSectionIndex
when modification is done with navigation keys (Arrows, End, PageUp, etc.) just like with letters.Wrong initial assumption, the selected section was only being reset on letter/digit editing when a jump to the next section was requested.
I've updated the approach to always reset the
all
selection state when doing a manual modification.