Skip to content

Commit

Permalink
Merge pull request react-bootstrap#859 from jamon/master
Browse files Browse the repository at this point in the history
fixed flickering when moving between trigger element and children of trigger element in hover mode
  • Loading branch information
mtscout6 committed Jun 20, 2015
2 parents ad8e39b + 2ffcf5d commit 3110e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OverlayTrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ const OverlayTrigger = React.createClass({
}

if (isOneOf('hover', this.props.trigger)) {
props.onMouseOver = createChainedFunction(this.handleDelayedShow, this.props.onMouseOver);
props.onMouseOut = createChainedFunction(this.handleDelayedHide, this.props.onMouseOut);
props.onMouseEnter = createChainedFunction(this.handleDelayedShow, this.props.onMouseEnter);
props.onMouseLeave = createChainedFunction(this.handleDelayedHide, this.props.onMouseLeave);
}

if (isOneOf('focus', this.props.trigger)) {
Expand Down

0 comments on commit 3110e0b

Please sign in to comment.