diff --git a/packages/select/src/vaadin-select-base-mixin.js b/packages/select/src/vaadin-select-base-mixin.js index 3d225b51cd..d5e1de4fc1 100644 --- a/packages/select/src/vaadin-select-base-mixin.js +++ b/packages/select/src/vaadin-select-base-mixin.js @@ -364,11 +364,11 @@ export const SelectBaseMixin = (superClass) => /** @private */ _openedChanged(opened, overlayElement) { - if (opened) { - if (!overlayElement) { - return; - } + if (!overlayElement) { + return; + } + if (opened) { if (this.disabled || this.readonly) { // Disallow programmatic opening when disabled or readonly this.opened = false;