mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-29 18:57:36 +08:00
Utils: fix isScroll (#21098)
This commit is contained in:
parent
c64358a8f1
commit
68e07ca6da
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user