mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Followup to 6896, add explanation of workaround. (#6905)
(cherry picked from commit ba3bfe3e31)
This commit is contained in:
1 parent
e8a8d005f0
commit
a5d7fc84ee
1 file changed
+3
@@ -617,6 +617,9 @@ ReactDOMComponent.Mixin = {
|
||||
} else if (props.is) {
|
||||
el = ownerDocument.createElement(this._currentElement.type, props.is);
|
||||
} else {
|
||||
// Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug.
|
||||
// See discussion in https://github.com/facebook/react/pull/6896
|
||||
// and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240
|
||||
el = ownerDocument.createElement(this._currentElement.type);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user