cancel
Showing results for 
Search instead for 
Did you mean: 

DropdownBox / ComboBox scroll items not working in latest SAPUI5?

Former Member
0 Kudos

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:9979

Event fired: 'saptouchstart' on Element sap.ui.commons.ListBox#DropdownDate-lb -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979

registering timer for delayed re-rendering -   sap-ui-core-dbg.js:9978

Event fired: 'focusout' on Element sap.ui.commons.DropdownBox#DropdownDate -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979

Event blur reached Focus Handler (target: [object HTMLInputElement]DropdownDate-input) -  sap.ui.core.FocusHandler sap-ui-core-dbg.js:9979

Event fired: 'selectstart' on Element sap.ui.commons.Panel#idPanel02 -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979

Event fired: 'focusin' on Element sap.ui.commons.DropdownBox#DropdownDate -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979

Event focus reached Focus Handler (target: [object HTMLInputElement]DropdownDate-input) -  sap.ui.core.FocusHandler sap-ui-core-dbg.js:9979

Event fired: 'sapfocusleave' on Element sap.ui.commons.DropdownBox#DropdownDate -  sap.ui.core.UIArea sap-ui-core-dbg.js:9979

Rerendering of control (using Core-RenderManager: true): DropdownDate-lb -   sap-ui-core-dbg.js:9978

Event 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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1.12.1 solved the first problem, but unfortunately has another (items not closing on focusout).

Just tested with SAPUI5 1.14.0 which solves both issues.

I'm curious, when the official version of 1.14. will be released.

Regards

Stefan