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
While testing with React 19, I noticed a warning related to the way element refs are handled. React 19 turns element refs into props.
Expected behavior
While this might not be a critical issue right now, the warning appears consistently.
Suggested solution
The ideal solution would be to fully implement the change of turning refs into props, as intended by React 19. This might require some effort and time, but it would eliminate the warning and align with React's best practices.
Let me know if you'd like further revisions!
Additional context
Your environment
Software
Name(s)
Version
Radix Package(s)
@radix-ui/react-scroll-area
1.0.5
React
n/a
^19.0.0-rc-38e3b23483-20240529
Browser
Chrome
Assistive tech
n/a
Node
n/a
v18.18.0
npm/yarn
1.22.19
Operating System
The text was updated successfully, but these errors were encountered:
React 19 support
Current Behavior
While testing with React 19, I noticed a warning related to the way element refs are handled. React 19 turns element refs into props.
Expected behavior
While this might not be a critical issue right now, the warning appears consistently.
Suggested solution
The ideal solution would be to fully implement the change of turning refs into props, as intended by React 19. This might require some effort and time, but it would eliminate the warning and align with React's best practices.
Let me know if you'd like further revisions!
Additional context
Your environment
The text was updated successfully, but these errors were encountered: