fix(select-rich): set activeIndex also when checkedIndex = 0

This commit is contained in:
qa46hx 2020-01-29 14:16:32 +01:00
parent 73e3937e1f
commit 03c58fdafd

View file

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