react-arborist
react-arborist copied to clipboard
Should we be able to focus the entire tree?
trafficstars
Some odd behavior I noticed was that, say I have a large tree that is mostly empty, if I click outside of any nodes in the tree, and then hit shift, the entire tree is focused. Is this behavior supported for any specific reason? It feels a little unintuitive because, if I actually blur away from the tree, and then click back into anywhere in the tree, and hit shift, the correct item is focused. This odd behavior becomes more pronounce when trying to multi-select via shift.
https://github.com/brimdata/react-arborist/assets/864752/e821a021-524c-43c0-a3c5-7dc134ae6b06