Skip to content

Issue with navigating away from page that uses react-tooltip #180

Closed
@tonynd

Description

@tonynd

I am using the React-Tooltip on several inputs which uses the getContent property to update the data. I do have a problem where when the tooltip is shown and I navigate away from the page, getContent is still running an causes the following warning on the page I redirected to. Is it any possible way of turning of the setInterval in the React-Tooltip component?

Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the ReactTooltip component.

Any help would be appreciated. Thanks!

Also, would really help, but is there any issue with the tooltip not displaying in Mozilla's Firefox? Its show and respond correctly in Chome, but I could not get it to show in Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions