We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 142046f commit 917134dCopy full SHA for 917134d
src/util/component.js
@@ -11,7 +11,10 @@ if (process.env.NODE_ENV !== 'production') {
11
isUnknownElement = function (el, tag) {
12
if (tag.indexOf('-') > -1) {
13
// http://stackoverflow.com/a/28210364/1070244
14
- return el.constructor === window.HTMLElement
+ return (
15
+ el.constructor === window.HTMLUnknownElement ||
16
+ el.constructor === window.HTMLElement
17
+ )
18
} else {
19
return (
20
/HTMLUnknownElement/.test(el.toString()) &&
0 commit comments