Open ghost opened 5 years ago
Some interesting accessibility decisions will need to be made with this, the TreeView aria page lists behaviour for left and right arrow + the home and end keys. Since these keys already have default behaviours in inputs how would these interact?
Since these keys already have default behaviours in inputs how would these interact?
Would it work if we reproduce what the Autocomplete
component has? I believe we allow the behavior to change depending on if the popup is open or closed: handleHomeEndKeys
.
Not necessarily a tree select, but selecting whole groups can be achieved with Autocomplete, here's an example which might help - https://codesandbox.io/s/material-ui-autocomplete-grouped-multiselect-ejbcr.
I would recommend to have such component in material ui too (also look at variations in options): Such components are needed when writing more form oriented applications.
Benchmark
Similar to #511