You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to display the label component conditionally onHover. But as soon as I hover over the displayed label element which is a button, it keeps triggering the onMouseEnter and onMouseLeave which keeps changing the onHoverState. Since the button component(label) is a child of the svg, it should have ideally not triggered the state changes. I have tried stop propogation and prevent default but nothing seems to work. Here is a code snippet.
Hi, I am trying to display the label component conditionally onHover. But as soon as I hover over the displayed label element which is a button, it keeps triggering the onMouseEnter and onMouseLeave which keeps changing the onHoverState. Since the button component(label) is a child of the svg, it should have ideally not triggered the state changes. I have tried stop propogation and prevent default but nothing seems to work. Here is a code snippet.
The text was updated successfully, but these errors were encountered: