Skip to content

Commit

Permalink
Merge pull request #27921 from hurali97/fix/27873-hover-not-shown-on-…
Browse files Browse the repository at this point in the history
…same-item-scroll

fix: hover not shown when scroll on same item
  • Loading branch information
mountiny authored Sep 21, 2023
2 parents 25cc70c + ecca497 commit f39e93f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/Hoverable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class Hoverable extends Component {
* If the user has started scrolling and the isHoveredRef is true, then we should set the hover state to false.
* This is to hide the existing hover and reaction bar.
*/
this.isHoveredRef = false;
this.setState({isHovered: false}, this.props.onHoverOut);
}
this.isScrollingRef = scrolling;
Expand Down

0 comments on commit f39e93f

Please sign in to comment.