We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90df172 commit d8fccceCopy full SHA for d8fccce
packages/overlay/src/vaadin-overlay-mixin.js
@@ -125,7 +125,9 @@ export const OverlayMixin = (superClass) =>
125
// get invoked on iOS Safari (reproducible in <vaadin-dialog>
126
// and <vaadin-context-menu>).
127
this.addEventListener('click', () => {});
128
- this.$.backdrop.addEventListener('click', () => {});
+ if (this.$.backdrop) {
129
+ this.$.backdrop.addEventListener('click', () => {});
130
+ }
131
132
this.addEventListener('mouseup', () => {
133
// In Chrome, focus moves to body on overlay content mousedown
0 commit comments