ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Combo box: Closes unexpectedly when scrolling through the scroll bar

Open guedes4g opened this issue 4 years ago • 4 comments

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:

  1. Go to combo box
  2. Click on the scroll bar and hold
  3. Scroll down to any position
  4. Release the click
  5. [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

guedes4g avatar Dec 22 '21 13:12 guedes4g

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

Lukas742 avatar Dec 22 '21 13:12 Lukas742

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 avatar Dec 22 '21 13:12 guedes4g

@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)

Lukas742 avatar Dec 22 '21 14:12 Lukas742

Dear Colleagues,

Looks like the ComboBox loses focus and closes the Popover as the relatedTarget is not contained in the ComboBox.

Regards, Martin

MapTo0 avatar Dec 23 '21 22:12 MapTo0