Skip to content

Commit

Permalink
Fixed #9822 - ConnectedOverlayScrollHandler API doesn't work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jan 26, 2021
1 parent 5adad5b commit 297beb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/dom/domhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ export class DomHandler {
}
}
}

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

Expand Down

0 comments on commit 297beb0

Please sign in to comment.