Skip to content

Commit

Permalink
Refactor #1655
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jan 16, 2021
1 parent ba20b7d commit 7e64618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/utils/DomHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export default class DomHandler {
}
}

if (overflowCheck(parent)) {
if (parent.nodeType !== 9 && overflowCheck(parent)) {
scrollableParents.push(parent);
}
}
Expand Down

0 comments on commit 7e64618

Please sign in to comment.