Skip to content

Commit

Permalink
[Popover] Only prevent default click interactions (#7167)
Browse files Browse the repository at this point in the history
Closes #6888

should not call clickAway if useLayerForClickAway is false
  • Loading branch information
oliviertassinari committed Jun 17, 2017
1 parent 3a3a47d commit 2ddd5ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Popover/Popover.js
Expand Up @@ -235,8 +235,7 @@ class Popover extends Component {
}
}

componentClickAway = (event) => {
event.preventDefault();
componentClickAway = () => {
this.requestClose('clickAway');
};

Expand Down

0 comments on commit 2ddd5ef

Please sign in to comment.