haradakunihiko / react-confirm

Small library which makes your Dialog component callable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IE compatibility issue

vmlaskin opened this issue · comments

after closing confirmation window IE throws the error "Object doesn't support property or method 'remove'" in react-confirm/lib/createConfirmation.js
function dispose() {
setTimeout(function () {
_reactDom2.default.unmountComponentAtNode(wrapper);
setTimeout(function () {
return wrapper.remove();
});
}, unmountDelay);
}