From 9434ae6e7dcf2133f334394f205f92e14a79feed Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 2 Mar 2021 13:29:07 +0300 Subject: [PATCH] Improved connected scroll handler --- src/components/utils/DomHandler.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/utils/DomHandler.js b/src/components/utils/DomHandler.js index 50ae309cf..12988053d 100755 --- a/src/components/utils/DomHandler.js +++ b/src/components/utils/DomHandler.js @@ -275,6 +275,10 @@ export default class DomHandler { } } } + + if (parent.nodeType !== 9 && overflowCheck(parent)) { + scrollableParents.push(parent); + } } }