Onunhover functionality react-plotly

Hi, we are using react-plotly in our poject, we are using onHover and onUnHover functions to show manual tool tip, but we observed that for every bar hover onHover function is calling, but onUnHover function is not calling while moving from one bar to another bar, because of this we are loosing our functionality.
Please check and correct this.