Skip to content

Commit

Permalink
fix: External click not closing component
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasmuraoka committed Aug 22, 2019
1 parent 36b0cb5 commit 517ae29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class ColumnsConfiguration extends React.Component {
let popover = null;
if (this.state.open) {
popover = (
<Popover fixed={true} position={Position.inDocument(this.node)}>
<Popover fixed={true} position={Position.inDocument(this.node)} onExternalClick={this.toggle.bind(this)}>
<div className={styles.popover}>
{title}
<div className={styles.body}>
Expand Down

0 comments on commit 517ae29

Please sign in to comment.