From 03c58fdafdde846fc8249cc0c6e9ceb0ada8dfbd Mon Sep 17 00:00:00 2001 From: qa46hx Date: Wed, 29 Jan 2020 14:16:32 +0100 Subject: [PATCH] fix(select-rich): set activeIndex also when checkedIndex = 0 --- packages/select-rich/src/LionSelectRich.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/select-rich/src/LionSelectRich.js b/packages/select-rich/src/LionSelectRich.js index 8a6c608f3..0b7d8ce00 100644 --- a/packages/select-rich/src/LionSelectRich.js +++ b/packages/select-rich/src/LionSelectRich.js @@ -622,7 +622,7 @@ export class LionSelectRich extends OverlayMixin( __setupOverlay() { this.__overlayOnShow = () => { - if (this.checkedIndex) { + if (this.checkedIndex != null) { this.activeIndex = this.checkedIndex; } this._listboxNode.focus();