Utils: fix isScroll (#21098)

pull/21122/head
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
1 changed files with 1 additions and 1 deletions

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) => {