Open wildhart opened 3 years ago
Have you tried :autoSelectDescendants="true" ? although that may introduce a different issue, I wondered if that would fix this
Hi @chriscfoster, thanks for your interest.
I tried that here, doesn't help: https://codepen.io/wildhart/pen/mdOvMbz
autoSelectDescendants only effects the behaviour when selecting a parent in flat mode. This bug is different:
Try it here: https://vue-treeselect.js.org/#basic-features Search for Apple: Press Enter, "Fruits" is selected:
I think a better approach would be to automatically highlight the first MATCHING item (apple), instead of just the first item (fruits), so that pressing Enter selects a matching item.