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
{{ message }}
Repository navigation
Popover and ContextMenu do not support react 18 #5859
If your app doesn’t work after upgrading, check whether it’s wrapped in <StrictMode>.Strict Mode has gotten stricter in React 18, and not all your components may be resilient to the new checks it adds in development mode. If removing Strict Mode fixes your app, you can remove it during the upgrade, and then add it back (either at the top or for a part of the tree) after you fix the issues that it’s pointing out.
Confirmed that the components mentioned have issues in React 18 projects with StrictMode. Many of them have (less apparent) issues with StrictMode in React 17, but there's something in 18 that makes them completely fall over (we should fix the issues with 17, too). I'm going to create new issues for each of these components for better tracking, and close this one.
Activity
thompsongl commentedon May 2, 2022
Related to #5774. We don't have a timeline yet for enabling support for React 18.
botlikes456 commentedon May 3, 2022
Got, thanks. Guess it is led by portal?
zerosym commentedon May 10, 2022
At least with Next and React 18 I found that having strict mode enabled is what prevents popovers, tooltips, menus, etc. from showing.
ycanardeau commentedon Jul 6, 2022
From the official documentation of React:
chandlerprall commentedon Aug 25, 2022
Confirmed that the components mentioned have issues in React 18 projects with StrictMode. Many of them have (less apparent) issues with StrictMode in React 17, but there's something in 18 that makes them completely fall over (we should fix the issues with 17, too). I'm going to create new issues for each of these components for better tracking, and close this one.