Commit 68e07ca6 authored by yanzhuang's avatar yanzhuang Committed by GitHub

Utils: fix isScroll (#21098)

parent c64358a8
......@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment