diff --git a/lib/commons/dom/get-overflow-hidden-ancestors.js b/lib/commons/dom/get-overflow-hidden-ancestors.js index 138e0fb6..24cbb23e 100644 --- a/lib/commons/dom/get-overflow-hidden-ancestors.js +++ b/lib/commons/dom/get-overflow-hidden-ancestors.js @@ -23,7 +23,8 @@ const getOverflowHiddenAncestors = memoize( if ( overflow.includes('hidden') || overflow.includes('clip') || - overflow.includes('scroll') + overflow.includes('scroll') || + overflow.includes('auto') ) { ancestors.push(vNode); }