Closed Pisi-Deff closed 8 years ago
When trying to open a modal: Uncaught TypeError: Cannot read property 'modals' of undefined
Uncaught TypeError: Cannot read property 'modals' of undefined
Link to breaking code
return (type) => baseIndex[type] + (zIndexFactor * (BaseModal.manager.modals.length - 1));
Link to change in react-overlays
-Modal.manager = modalManager; +Modal.Manager = ModalManager;
Got this issue too
me, too.
or const baseModal = new _Modal2.default.Manager(); return baseIndex[type] + zIndexFactor * (baseModal.modals.length - 1);
const baseModal = new _Modal2.default.Manager();
return baseIndex[type] + zIndexFactor * (baseModal.modals.length - 1);
thanks
When trying to open a modal:
Uncaught TypeError: Cannot read property 'modals' of undefined
Link to breaking code
Link to change in react-overlays