diff --git a/examples/with-portals/components/Portal.js b/examples/with-portals/components/Portal.js index c1f14355..4517a55d 100644 --- a/examples/with-portals/components/Portal.js +++ b/examples/with-portals/components/Portal.js @@ -4,6 +4,7 @@ import ReactDOM from 'react-dom' export class Portal extends React.Component { componentDidMount () { this.element = document.querySelector(this.props.selector) + this.forceUpdate() } render () {