Skip to content

Commit 83f7cca

Browse files
committed
Update in getOverflowHiddenAncestors for accessible text
1 parent ee349a8 commit 83f7cca

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.includes('hidden') || overflow.includes('clip')) {
3232
ancestors.push(vNode);
3333
}
3434
}

0 commit comments

Comments
 (0)