diff --git a/src/components/modal/modal.js b/src/components/modal/modal.js index fade0592..c28027a3 100644 --- a/src/components/modal/modal.js +++ b/src/components/modal/modal.js @@ -49,6 +49,7 @@ export default class Modal extends PureComponent { if (this.props.closeOnEsc) { d.removeEventListener('keydown', this.handleKeydown); } + this.portalElement.remove(); } getDocument = () => {