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
When using a react-hint which can be triggered by multiple elements (more than one element with data-rh attribute) and using a hide delay (delay={ hide: someDelay }), the fadeIn animation is only triggered when the first react-hint is shown (hover on one of the elements which toggles it). But if hovering onto another element before delay expires the animation does not kick in, indeed the react-hint DOM node is not removed and re-added but its position is changed (I suppose), so the animation is not triggered.
An option to avoid that would be to add a class to the react-hint when a triggering element is hovered (ex. react-hint--show) and set the CSS animation fadeIn there. Let me know if your're ok with this option so I can work on a PR.
The text was updated successfully, but these errors were encountered:
When using a
react-hint
which can be triggered by multiple elements (more than one element withdata-rh
attribute) and using a hide delay (delay={ hide: someDelay }
), the fadeIn animation is only triggered when the firstreact-hint
is shown (hover on one of the elements which toggles it). But if hovering onto another element before delay expires the animation does not kick in, indeed the react-hint DOM node is not removed and re-added but its position is changed (I suppose), so the animation is not triggered.An option to avoid that would be to add a class to the react-hint when a triggering element is hovered (ex. react-hint--show) and set the CSS animation fadeIn there. Let me know if your're ok with this option so I can work on a PR.
The text was updated successfully, but these errors were encountered: