Hi,
our users reported us an disadvantage while using tree view with mouse and keyboard. The problem is, that after performing mouse selections, the user cannot use right/left arrows to expand/collapse the item. Everything starts working just after moving with keyboard up and down - then everything works fine until another mouse selection.
The problem is, that in some scenarios, after changing the selected item with mouse, the current item indicator (the line around the item on the attached screen) stays on the previously selected item.
It can be easily reproduced on 'clear' (not self-styled) tree, when selecting first child elem, and then moving the selection with mouse to its parent.
However, in our production application the problem is a little different and it occurs between each selection change and in our scenario the current item indicator seems to be lost totally, and left/right arrows clicks are bubbled to the tree itself causing the horizontal scroll viewer being scrolled. Second 'click' on the already selected item moves the current item indicator (the additional light border around the item) - and after that left/right arrows start working as intended.
The questions is: is there any easy way to make the tree view item got the 'current item indicator' just after clicking item once? Is there something wrong with our templates? Styles? That we loose totally a current item after each mouse-selection?
Best regards
Marcin
our users reported us an disadvantage while using tree view with mouse and keyboard. The problem is, that after performing mouse selections, the user cannot use right/left arrows to expand/collapse the item. Everything starts working just after moving with keyboard up and down - then everything works fine until another mouse selection.
The problem is, that in some scenarios, after changing the selected item with mouse, the current item indicator (the line around the item on the attached screen) stays on the previously selected item.
It can be easily reproduced on 'clear' (not self-styled) tree, when selecting first child elem, and then moving the selection with mouse to its parent.
However, in our production application the problem is a little different and it occurs between each selection change and in our scenario the current item indicator seems to be lost totally, and left/right arrows clicks are bubbled to the tree itself causing the horizontal scroll viewer being scrolled. Second 'click' on the already selected item moves the current item indicator (the additional light border around the item) - and after that left/right arrows start working as intended.
The questions is: is there any easy way to make the tree view item got the 'current item indicator' just after clicking item once? Is there something wrong with our templates? Styles? That we loose totally a current item after each mouse-selection?
Best regards
Marcin