diff --git a/src/css/structure/modules/infragistics.ui.combo.css b/src/css/structure/modules/infragistics.ui.combo.css index fba613ccb..f6ba5a131 100644 --- a/src/css/structure/modules/infragistics.ui.combo.css +++ b/src/css/structure/modules/infragistics.ui.combo.css @@ -124,6 +124,8 @@ cursor: default; white-space: nowrap; background-image: none; + /* M.A. August 31th, 2021 Bug #2119 & #2124 Add default height */ + height: 1.3125rem; } .ui-igcombo-listitemtextwithcheckbox { diff --git a/tests/unit/combo/rendering/rendering-test.js b/tests/unit/combo/rendering/rendering-test.js index a90fe18b3..f5b0e3ca1 100644 --- a/tests/unit/combo/rendering/rendering-test.js +++ b/tests/unit/combo/rendering/rendering-test.js @@ -491,7 +491,7 @@ QUnit.test('[ID7] igCombo scrolling tests', function (assert) { }); QUnit.test('[ID8] igCombo virtualization tests', function (assert) { - assert.expect(43); + assert.expect(44); var combo, $list, $dropDownCont, $scrollCont, $scroll, done = assert.async(), @@ -546,6 +546,8 @@ QUnit.test('[ID8] igCombo virtualization tests', function (assert) { assert.ok($(this).text() === localData[i + itemsIncrement].name, "The item value " + $(this).text() + " should be equal to data source value: " + localData[i].name); }); + assert.ok($($listItems[0]).outerHeight() === $($listItems[1]).outerHeight(), "The first and second items height should be equal to: " + $($listItems[0]).outerHeight()); + combo.listScrollTop(860); $.ig.TestUtil.wait(10).then(function () { diff --git a/tests/unit/combo/sample-data/local-data.js b/tests/unit/combo/sample-data/local-data.js index 55decf735..174f9ed5b 100644 --- a/tests/unit/combo/sample-data/local-data.js +++ b/tests/unit/combo/sample-data/local-data.js @@ -1,6 +1,9 @@ window.localData = [{ "id": 0, "name": "magna" +}, { + "id": 0.5, + "name": "アイテム" }, { "id": 1, "name": "non" @@ -115,7 +118,4 @@ window.localData = [{ }, { "id": 38, "name": "exercitation" -}, { - "id": 39, - "name": "labore" }]; \ No newline at end of file