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
Tracking work required for full compatibility with React 18. The imperative API methods of Context Menu Popover (showContextMenu and hideContextMenu) expose DOMMountOptions that reference deprecated ReactDOM.render and ReactDOM.unmountComponentAtNode methods as option defaults. We should replace these defaults with the current root.render(...) and root.unmount() methods. This issue is similar/related to #7166
Current support for React 18 is achieved by passing in the new ReactDOM methods as options. From the docs:
"(or ReactDOM.createRoot() if you override the default renderer via options)"
Tracking work required for full compatibility with React 18. The imperative API methods of Context Menu Popover (
showContextMenu
andhideContextMenu
) expose DOMMountOptions that reference deprecatedReactDOM.render
andReactDOM.unmountComponentAtNode
methods as option defaults. We should replace these defaults with the currentroot.render(...)
androot.unmount()
methods. This issue is similar/related to #7166Current support for React 18 is achieved by passing in the new ReactDOM methods as options. From the docs:
Code:
contextMenuSingleton.tsx
blueprint/packages/core/src/components/context-menu/contextMenuSingleton.tsx
Lines 53 to 54 in ee5510c
blueprint/packages/core/src/components/context-menu/contextMenuSingleton.tsx
Line 84 in ee5510c
References:
The text was updated successfully, but these errors were encountered: