Merge pull request #529 from ing-bank/fix/activeIndex-select-rich

fix(select-rich): set activeIndex also when checkedIndex = 0
This commit is contained in:
gerjanvangeest 2020-01-29 14:48:00 +01:00 committed by GitHub
commit edcf555adc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -622,7 +622,7 @@ export class LionSelectRich extends OverlayMixin(
__setupOverlay() { __setupOverlay() {
this.__overlayOnShow = () => { this.__overlayOnShow = () => {
if (this.checkedIndex) { if (this.checkedIndex != null) {
this.activeIndex = this.checkedIndex; this.activeIndex = this.checkedIndex;
} }
this._listboxNode.focus(); this._listboxNode.focus();