Merge pull request #989 from ing-bank/fix/scrollTargetNode
fix(select-rich): change scrollTargetNode to listboxNode
This commit is contained in:
commit
580603cedf
2 changed files with 6 additions and 1 deletions
5
.changeset/stupid-ads-guess.md
Normal file
5
.changeset/stupid-ads-guess.md
Normal 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.
|
||||||
|
|
@ -63,7 +63,7 @@ export class LionSelectRich extends SlotMixin(ScopedElementsMixin(OverlayMixin(L
|
||||||
}
|
}
|
||||||
|
|
||||||
get _scrollTargetNode() {
|
get _scrollTargetNode() {
|
||||||
return this._overlayContentNode._scrollTargetNode || this._overlayContentNode;
|
return this._listboxNode._scrollTargetNode || this._listboxNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
get checkedIndex() {
|
get checkedIndex() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue