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
{{ message }}
Repository navigation
Reflected components doesn't work properly with Radix UI components with asChild props #68
If you use reflected component as a children for Radix UI component with asChild prop you will get this error: Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
I think the reason for this error is that the reflected components are not wrapped with forwardRef
Activity
sergeysova commentedon Jun 12, 2023
@frkam Thank you for the report.
Would you like to contribute patch to fix the issue?
sergeysova commentedon Sep 17, 2023
@frkam Fix was released at https://github.com/effector/reflect/releases/tag/v8.3.2.
Would you like to check and close/comment on this issue?
Thank you @kireevmp for the contribution!