diff --git a/overlay-mixin.html b/overlay-mixin.html
index 8e32a06..eb6ccaa 100644
--- a/overlay-mixin.html
+++ b/overlay-mixin.html
@@ -44,6 +44,11 @@
type: Boolean,
readOnly: true,
value: false
+ },
+
+ noAutoFocus: {
+ type: Boolean,
+ value: false
}
}
@@ -129,7 +134,10 @@
this._setCanceled(false);
this.style.display = '';
- this.focus();
+
+ if (!this.noAutoFocus) {
+ this.focus();
+ }
this.dispatchEvent(new CustomEvent('overlay-opened', {
detail: {