Skip to content

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 #744

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

Open
alekseykurylev opened this issue Dec 18, 2024 · 2 comments

Comments

@alekseykurylev
Copy link

Hi guys! Thanks for your component, it's very cool! I would like to know when you will make React 19 support?

Error: "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"

image

@linhtrinh18
Copy link

Any update on this? I faced the same issue

@alekseykurylev
Copy link
Author

alekseykurylev commented Apr 21, 2025

Any update on this? I faced the same issue

Problem remains. In ant-design, it is somehow solved: https://github.com/ant-design/ant-design/blob/master/components/menu/menu.tsx but I'm waiting for the "rc-menu" update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants