Utils: fix isScroll (#21098)

This commit is contained in:
yanzhuang 2021-07-01 17:03:01 +08:00 committed by GitHub
parent c64358a8f1
commit 68e07ca6da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ export const isScroll = (el, vertical) => {
: getStyle(el, 'overflow-x')
: getStyle(el, 'overflow');
return overflow.match(/(scroll|auto)/);
return overflow.match(/(scroll|auto|overlay)/);
};
export const getScrollContainer = (el, vertical) => {