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

fix(tree): fix item selection when multi + input-enabled #2555

Conversation

jcfranco
Copy link
Member

Related Issue: #2437

Summary

This fixes an issue where clicking a tree-item's checkbox would not toggle the selection when a tree is in multi selection mode with input-enabled.

@paulcpederson Can you help test this one? I'm not clear if other selection modes + input-enabled need to work differently. The ancestor selection-mode + input-enabled from the demo page appear to work fine. I added an E2E test to start keeping track of this.

@jcfranco jcfranco added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jul 16, 2021
@jcfranco jcfranco added this to the Sprint 7/5 – 7/16 milestone Jul 16, 2021
@jcfranco jcfranco requested a review from paulcpederson July 16, 2021 17:26
@jcfranco jcfranco self-assigned this Jul 16, 2021
@jcfranco jcfranco requested a review from a team as a code owner July 16, 2021 17:26
@paulcpederson
Copy link
Member

@jcfranco I have never understood the other selection modes or what their purpose is. Checked locally, though, and ancestors mode looks great 👍🏻

@jcfranco
Copy link
Member Author

I have never understood the other selection modes or what their purpose is.

😭 I thought you would have all the secrets! Thanks for testing!

@patrickarlt Checked the blame view and saw you introduced the prop. Could you share some info on the different selection modes? It would greatly help with doc and setting up tests.

@jcfranco jcfranco merged commit 44af309 into master Jul 16, 2021
@jcfranco jcfranco deleted the jcfranco/2437-ensure-tree-select-event-reflects-current-state-when-input-enabled branch July 16, 2021 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants