Utils: fix isScroll (#2433)

This commit is contained in:
yanzhuang
2021-07-05 09:16:00 +08:00
committed by GitHub
parent e61d08ed29
commit 4e9ddcdb53

View File

@@ -166,7 +166,7 @@ export const isScroll = (
? getStyle(el, 'overflow-y')
: getStyle(el, 'overflow-x')
return overflow.match(/(scroll|auto)/)
return overflow.match(/(scroll|auto|overlay)/)
}
export const getScrollContainer = (