Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tooltip: FindDOMNode depreciation alert #1169

Open
hiukky opened this issue Jul 13, 2020 · 3 comments
Open

tooltip: FindDOMNode depreciation alert #1169

hiukky opened this issue Jul 13, 2020 · 3 comments
Labels
v4 Issues about legacy 4.x version wontfix
Projects

Comments

@hiukky
Copy link

hiukky commented Jul 13, 2020

Versions

Depreciation alert of findDOMNode in strict mode in the Tooltip component.

package version
react 16.13.1
rsuite 4.8.0

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of OverlayTrigger which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

@simonguo
Copy link
Member

Related issues.
#1062
#952

@simonguo
Copy link
Member

Fixed in rsuite v5.

npm i rsuite@next

@SevenOutman SevenOutman added the v4 Issues about legacy 4.x version label Oct 15, 2021
@SevenOutman SevenOutman added this to Needs triage in v4 Bug Fix Oct 15, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4 Issues about legacy 4.x version wontfix
Projects
v4 Bug Fix
Needs triage
Development

No branches or pull requests

3 participants