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

bug: console error from PortalInner [React 19] #4496

Open
jugglingcats opened this issue Oct 19, 2024 · 0 comments
Open

bug: console error from PortalInner [React 19] #4496

jugglingcats opened this issue Oct 19, 2024 · 0 comments

Comments

@jugglingcats
Copy link

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

@layershifter layershifter changed the title React 19: Console error from PortalInner bug: console error from PortalInner [React 19] Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants