When we check window.getComputedstyle(node).getPropertyValue('overflow'), we usually check to see if the value is strictly equal to hidden or auto. However, if only the x or y overflows are set to hidden, then the value is hidden auto. We should check all our uses of overflow to check for includes('hidden') to account for thees cases.
When we check
window.getComputedstyle(node).getPropertyValue('overflow'), we usually check to see if the value is strictly equal tohiddenorauto. However, if only the x or y overflows are set to hidden, then the value ishidden auto. We should check all our uses ofoverflowto check forincludes('hidden')to account for thees cases.