Skip to content

Commit 6244b5c

Browse files
committed
Back to original get overflown hidden ancestors
1 parent 4334d1a commit 6244b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commons/dom/get-overflow-hidden-ancestors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const getOverflowHiddenAncestors = memoize(
2828
ancestors.push(vNode);
2929
}
3030
} else {
31-
if (overflow.includes('hidden')) {
31+
if (overflow === 'hidden') {
3232
ancestors.push(vNode);
3333
}
3434
}

0 commit comments

Comments
 (0)