Skip to content

Commit 2ffcf5d

Browse files
committed
[fixed] Popovers flicker when moving mouse amongst children of the trigger
1 parent fd66352 commit 2ffcf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OverlayTrigger.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ const OverlayTrigger = React.createClass({
122122
}
123123

124124
if (isOneOf('hover', this.props.trigger)) {
125-
props.onMouseOver = createChainedFunction(this.handleDelayedShow, this.props.onMouseOver);
126-
props.onMouseOut = createChainedFunction(this.handleDelayedHide, this.props.onMouseOut);
125+
props.onMouseEnter = createChainedFunction(this.handleDelayedShow, this.props.onMouseEnter);
126+
props.onMouseLeave = createChainedFunction(this.handleDelayedHide, this.props.onMouseLeave);
127127
}
128128

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

0 commit comments

Comments
 (0)