fix(select-rich): wait until mixin overlay is ready before doing setup

This commit is contained in:
Joren Broekema 2020-04-02 09:33:51 +02:00 committed by Thomas Allmer
parent 78a8554019
commit 53a21f2baa

View file

@ -219,7 +219,11 @@ export class LionSelectRich extends ScopedElementsMixin(
firstUpdated(changedProperties) {
super.firstUpdated(changedProperties);
this.__setupOverlay();
this._overlaySetupComplete.then(() => {
this.__setupOverlay();
});
this.__setupInvokerNode();
this.__setupListboxNode();