Cannot read property 'modals' of undefined
Closed this issue · 4 comments
peebles commented
I am getting this error in the console:
Modal.js:136Uncaught TypeError: Cannot read property 'modals' of undefined
Due to the following code:
return function (type) {
return baseIndex[type] + zIndexFactor * (_Modal2.default.manager.modals.length - 1);
};
peebles commented
I notice the code I have (via npm install) is different than the code in master. The npm package is at 3.0.0. Does this need to be bumped?
adanarchila commented
I think this was patched here: #28 but they didn't build a release :(
atis-- commented
jquense should make a new release; meanwhile you can use my build if you want:
npm install --save @atis/react-bootstrap-modal
require('@atis/react-bootstrap-modal');
jquense commented
fixed and released