sillsdev / TheCombine

This is a tool for supporting the rapid word collection workshop and post workshop clean-up
https://sillsdev.github.io/TheCombine/
MIT License
16 stars 13 forks source link

[TreeView] Bad ENTER behavior when navigating the tree #3215

Closed imnasnainaec closed 2 months ago

imnasnainaec commented 3 months ago

Describe the bug

Intuitively, pressing the ENTER key should select/open the current domain. Instead, it just repeats the most recent clicked navigation. E.g., if you are on 3.4 and click the next sibling 3.5, then use the up arrow to go to domain 3, pressing ENTER will move you to next sibling 4. Clicking on second child 4.2, if you then use the left error to go to domain 4.1, pressing ENTER will move you to second child 4.1.2.