We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb89785 commit 6c77716Copy full SHA for 6c77716
scrollparent.js
@@ -28,7 +28,7 @@
28
};
29
30
var scrollParent = function (node) {
31
- if (!(node instanceof HTMLElement)) {
+ if (!(node instanceof HTMLElement || node instanceof SVGElement)) {
32
return ;
33
}
34
0 commit comments