[Tree]: Space is not working
Bug Description
In your documentation you write [SPACE] - Selects the currently focused item upon keyup.
This isn't working or I don't get it the right way what the "selects the currently focused item" means. At least the selected event isn't fired.
And if I am using the custom tree element the space isn't reaching for example an input field which is placed into the custom tree element.
Affected Component
Tree
Expected Behaviour
The selection event isn't fired.
Isolated Example
No response
Steps to Reproduce
- Select an tree item within the tree
- Press enter
- The selected event should be fired?
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
1.26.3
Browser
Chrome, Firefox
Operating System
Windows 11
Additional Context
No response
Organization
No response
Declaration
- [X] I’m not disclosing any internal or sensitive information.
Hello @pop1989bb,
Could you please provide an isolated example if possible by forking this stackblitz?
Kind Regards, Niya
Hi @pop1989bb,
As you can see in the keyboard interaction section (https://sap.github.io/ui5-webcomponents/components/Tree/#keyboard-handling), the Space and the Enter key should select the current focused item when mode property is in use (e.g. mode is set to some kind of selection).
Hi guys,
my bad! I accidentially selected the wrong mode. So my bad. This ticket isn't necessary anymore.
Kind regards