Skip to content

Conversation

jafin
Copy link
Contributor

@jafin jafin commented Mar 31, 2022

Fixes an issue where the tooltip will not hide after hover.

In React 18 StrictMode, components may mount and unmount more than once
See here reactwg/react-18#19

Closes #754

@xNarkon
Copy link

xNarkon commented May 2, 2022

@roggervalf @aronhelser could you merge this?

@aronhelser aronhelser merged commit 064249c into ReactTooltip:master May 2, 2022
@Thalimenel
Copy link

thanks @aronhelser, but the npm package is still the same version should we make a new PR to update it manually?

@syed-ahmad
Copy link

Try setting isCapture={true}, that worked for me on Nextjs app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React 18 StrictMode offHover tooltip remains visible
5 participants