React-bootstrap: React 16 Modal

Created on 22 Sep 2017  路  1Comment  路  Source: react-bootstrap/react-bootstrap

There is an error when switching to react 16.0.0

Uncaught TypeError: Cannot read property 'contains' of undefined
    at eval (contains.js:17)
    at Modal.focus (Modal.js:557)
    at Modal.onShow (Modal.js:486)
    at Modal.componentDidUpdate (Modal.js:243)
    at commitLifeCycles (react-dom.development.js:11563)
    at commitAllLifeCycles (react-dom.development.js:12342)
    at HTMLUnknownElement.callCallback (react-dom.development.js:1319)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:1358)
    at invokeGuardedCallback (react-dom.development.js:1215)
    at commitAllWork (react-dom.development.js:12463)

>All comments

dupe of a bunch of older issues; see earlier issues here and on react-overlays

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ckiss picture ckiss  路  3Comments

mikejonas picture mikejonas  路  3Comments

AbdullahWali picture AbdullahWali  路  3Comments

lailo picture lailo  路  3Comments

sunjay picture sunjay  路  3Comments