diff --git a/lib/portal.js b/lib/portal.js index 7a6ce5f..6a3eaf3 100644 --- a/lib/portal.js +++ b/lib/portal.js @@ -136,7 +136,7 @@ export default class Portal extends React.Component { if (!this.state.active) { return; } const root = findDOMNode(this.portal); - if (root.contains(e.target) || e.target.tagName === 'HTML' || e.button !== 0) { return; } + if (root.contains(e.target) || e.button !== 0) { return; } e.stopPropagation(); this.closePortal();