Skip to content

Commit d6c8ec4

Browse files
authored
fix: use correct method to ignore overlay content scroll (#10100)
1 parent 112e345 commit d6c8ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/overlay/src/vaadin-overlay-position-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export const PositionMixin = (superClass) =>
217217
/** @private */
218218
__onScroll(e) {
219219
// If the scroll event occurred inside the overlay, ignore it.
220-
if (e.target instanceof Node && this.contains(e.target)) {
220+
if (e.target instanceof Node && this._deepContains(e.target)) {
221221
return;
222222
}
223223

0 commit comments

Comments
 (0)