Combo box: Closes unexpectedly when scrolling through the scroll bar
Describe the bug Combo box closes when scrolling though the scroll bar (mouse click and hold)
Isolated Example codesandbox.*
To Reproduce Steps to reproduce the behavior:
- Go to combo box
- Click on the scroll bar and hold
- Scroll down to any position
- Release the click
- [The error] The combo box will close
Expected behavior The combo box to be able to scroll using the scroll bar without closing
UI5 Web Components for React Information
@ui5/webcomponents version: latest
@ui5/webcomponents-react version: latest
Operating System: Macos
Browser: Chrome
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Hi Lukas742, I have tried to reproduce this issue with pure ui5 web components and the error did not occur.
@guedes4g here you can find a codesandbox with pure ui5 web components. :)
Maybe it's os or browser dependant. The error occurs for me with:
- browser: Chrome Version 96.0.4664.110 (Official Build) (x86_64)
- os: MacOS Montery v12.0.1 (21A559)
Dear Colleagues,
Looks like the ComboBox loses focus and closes the Popover as the relatedTarget is not contained in the ComboBox.
Regards, Martin