Skip to content

Commit

Permalink
[xy-chart] fix mouseout bug on barchart
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Nov 3, 2017
1 parent ba690b0 commit 62f303f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xy-chart/src/series/BarSeries.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class BarSeries extends React.PureComponent {
onMouseMove={onMouseMove && (() => (event) => {
onMouseMove({ event, data, datum: d, color });
})}
onMouseLeave={onMouseLeave}
onMouseLeave={onMouseLeave && (() => onMouseLeave)}
/>
);
})}
Expand Down

0 comments on commit 62f303f

Please sign in to comment.