Skip to content

Commit

Permalink
Back to original get overflown hidden ancestors
Browse files Browse the repository at this point in the history
  • Loading branch information
chikara1608 committed Dec 4, 2024
1 parent 4334d1a commit 6244b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commons/dom/get-overflow-hidden-ancestors.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getOverflowHiddenAncestors = memoize(
ancestors.push(vNode);
}
} else {
if (overflow.includes('hidden')) {
if (overflow === 'hidden') {
ancestors.push(vNode);
}
}
Expand Down

0 comments on commit 6244b5c

Please sign in to comment.