Combobox: Scroll handle not working
Describe the bug When clicking in the handle of the ComboBox, the dropdown is closed.
Isolated Example Code example: this codesandbox.
To Reproduce Steps to reproduce the behavior:
- Create and dropdown with a lot of options
- Open it
- Click in the scroll Handle
Expected behavior Use the handle to scroll.
Screenshots

UI5 Web Components for React Information
@ui5/webcomponents version: 1.0.0-rc.14
@ui5/webcomponents-react version: 16.0.1
Operating System: MacOS
Browser: Chrome
Hey @lpohren
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Thanks @MarcusNotheis ,
I also noticed, it only happens on the last versions(from 1.0.0-rc12 to latest), when using webcomponents 1.0.0-rc11 it works fine and the performance on loading the options is way better. See this example: CodeSandbox with older version
Hi @lpohren , thanks for providing both samples, makes the investigation so much easier!
Could you elaborate more on the performance being better in the older versions? I ran a performance timeline recording on Chrome and both versions are equal - both rendering the combobox, and rendering the items after a click are roughly the same.
Which part are you referring to?
My bad, there was no performance difference. One of the examples had already cached the list, that`s why it was quicker.
The only issue will be the handle.
Hello @SAP/ui5-webcomponents-topic-rl
I am forwarding this issue to you as it occurs in the ComboBox.
Here is an isolated example with standalone popover(used to validate the issue is not reproducible outside of the ComboBox. I have tested out all other input controls with popovers and the only place where it is reproducible is the ComboBox).
The issue is marked as Very High because it has important business impact on the delivery of the application
Hello @SAP/ui5-webcomponents-topic-rd ,
I analyse the issue and I found out the root cause is in the Popup. In order to correct focus when there is no focusable content, you have added tabindex="-1" to the root element of the Popup, which causes the issue. When we have a ui5-combobox with many suggestions(scroll is presented), when trying to scroll down, the dropdown is closed. Unfortunately ,the ui5-combobox is not the only affected component. The other input components are affected as well. Imagine, you have the same scenario (suggestions with scroll) in ui5-input component, when trying to scroll down among the suggestions, the input field loses the focus. Try to scroll down and then to type any character - it is not possible, since the focus is not in the input field. The expected behaviour is to have the physical focus always in the input field and to be able to type in. Is it possible to add tabindex = "-1" only when there is no focusable content in the popover?
Could you please check and investigate the issue from your side? If any adjustments in the input components are necessary, do not hesitate to contact us or return the issue back to our team.
Thank you in advance!
Kind Regards, Niya