Semantic-UI-React icon indicating copy to clipboard operation
Semantic-UI-React copied to clipboard

React 19: Console error from PortalInner

Open jugglingcats opened this issue 4 months ago • 0 comments

Bug Report

Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release. Error Component Stack
    at PortalInner (semantic-ui-react.js?v=fda6e902:4971:21)
    at Portal (semantic-ui-react.js?v=fda6e902:5015:24)
    at Modal (semantic-ui-react.js?v=fda6e902:6304:23)

Steps

Use of Modal in React 19 (release candidate) project.

Expected Result

No errors.

Actual Result

Error as above.

Version

3.0.0-beta.2

Testcase

https://codesandbox.io/p/sandbox/semantic-ui-react-forked-st8pzq

jugglingcats avatar Oct 19 '24 07:10 jugglingcats