Browse Source

Utils: fix isScroll (#21098)

yanzhuang 4 years ago
parent
commit
68e07ca6da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/dom.js

+ 1 - 1
src/utils/dom.js

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