fix(select-rich): remove usage of public class fields
This commit is contained in:
parent
daa97de466
commit
7e02c39a0f
2 changed files with 8 additions and 2 deletions
5
.changeset/friendly-tables-pretend.md
Normal file
5
.changeset/friendly-tables-pretend.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@lion/select-rich': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Remove public class field usage in Select Rich
|
||||||
|
|
@ -101,6 +101,7 @@ export class LionSelectRich extends SlotMixin(ScopedElementsMixin(OverlayMixin(L
|
||||||
this.__invokerOnClick = this.__invokerOnClick.bind(this);
|
this.__invokerOnClick = this.__invokerOnClick.bind(this);
|
||||||
this.__overlayBeforeShow = this.__overlayBeforeShow.bind(this);
|
this.__overlayBeforeShow = this.__overlayBeforeShow.bind(this);
|
||||||
this.__focusInvokerOnLabelClick = this.__focusInvokerOnLabelClick.bind(this);
|
this.__focusInvokerOnLabelClick = this.__focusInvokerOnLabelClick.bind(this);
|
||||||
|
this._listboxOnClick = this._listboxOnClick.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
|
|
@ -412,9 +413,9 @@ export class LionSelectRich extends SlotMixin(ScopedElementsMixin(OverlayMixin(L
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_listboxOnClick = () => {
|
_listboxOnClick() {
|
||||||
this.opened = false;
|
this.opened = false;
|
||||||
};
|
}
|
||||||
|
|
||||||
_setupListboxNodeInteractions() {
|
_setupListboxNodeInteractions() {
|
||||||
super._setupListboxNodeInteractions();
|
super._setupListboxNodeInteractions();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue