Skip to Content
1
Former Member
Sep 05, 2013 at 09:26 PM

DropdownBox / ComboBox scroll items not working in latest SAPUI5?

210 Views

Hi,

I'm trying to get the sap.ui.commons.DropdownBox or sap.ui.commons.ComboBox work correctly with SAPUI5 v1.12.5 or v1.12.7.

Steps to reproduce:

  • Create a sap.ui.commons.DropdownBox with more than 10 items
  • Open Dropdown with the arrow on the right
  • Try to scroll down the list with the up/down arrows or the scrollbar on the right
    • Result: The item box is immediately closing

When using sap-ui-core-dg.js, I can see that a "focusout" is triggered:

Event fired: 'mousedown' on Element sap.ui.commons.ListBox#DropdownDate-lb -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979Event fired: 'saptouchstart' on Element sap.ui.commons.ListBox#DropdownDate-lb -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979registering timer for delayed re-rendering -   sap-ui-core-dbg.js:9978Event fired: 'focusout' on Element sap.ui.commons.DropdownBox#DropdownDate -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979Event blur reached Focus Handler (target: [object HTMLInputElement]DropdownDate-input) -  sap.ui.core.FocusHandler sap-ui-core-dbg.js:9979Event fired: 'selectstart' on Element sap.ui.commons.Panel#idPanel02 -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979Event fired: 'focusin' on Element sap.ui.commons.DropdownBox#DropdownDate -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979Event focus reached Focus Handler (target: [object HTMLInputElement]DropdownDate-input) -  sap.ui.core.FocusHandler sap-ui-core-dbg.js:9979Event fired: 'sapfocusleave' on Element sap.ui.commons.DropdownBox#DropdownDate -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979Rerendering of control (using Core-RenderManager: true): DropdownDate-lb -   sap-ui-core-dbg.js:9978Event fired: 'mouseup' on Element sap.ui.commons.Panel#idPanel02 -  sap.ui.core.UIArea

I also tried this with SAPUI5 v1.12.1, which is working.

Does anybody has the same problem?

Regards

Stefan