fix(select-rich): change scrollTargetNode to listboxNode

This commit is contained in:
qa46hx 2020-10-05 16:21:43 +02:00
parent 8af04001e0
commit 20469ce76d
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@lion/select-rich': patch
---
Change scrollTargetNode to listboxNode, same as parent and extention layer. The extention layer has a different overlayContentNode and had to set it back to listboxNode.

View file

@ -63,7 +63,7 @@ export class LionSelectRich extends SlotMixin(ScopedElementsMixin(OverlayMixin(L
}
get _scrollTargetNode() {
return this._overlayContentNode._scrollTargetNode || this._overlayContentNode;
return this._listboxNode._scrollTargetNode || this._listboxNode;
}
get checkedIndex() {