Skip to content

Commit

Permalink
fix: make solid check in scrollParent
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonslyvia committed Sep 17, 2016
1 parent c3a562b commit 0c74a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/scrollParent.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ export default (node) => {
parent = parent.parentNode;
}

return node.ownerDocument || document;
return node.ownerDocument || node.documentElement || document;
};

0 comments on commit 0c74a03

Please sign in to comment.