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 438b8db commit 7c6566eCopy full SHA for 7c6566e
addon/components/collection-scroll-view/index.js
@@ -137,5 +137,5 @@ function isChildComponent(component, candidateChildComponent) {
137
}
138
139
function isChildElement(element, candidateChildElement) {
140
- return element.contains(candidateChildElement);
+ return element && (candidateChildElement instanceof HTMLElement) && element.contains(candidateChildElement);
141
0 commit comments