radix-ui/primitives

React 19 compatibility

pedro757 opened this issue · 1 comments

Bug report

Current Behavior

image

Expected behavior

Not to error

Additional context

In react 19 ref are regular props

Your environment

Software Name(s) Version
Radix Package(s) checkbox 1.1.2
React 19 19
Browser chromium 129
Assistive tech
Node n/a
npm/yarn
Operating System Linux

I don't believe this is a radix react compatibility issue anymore, see react-hook-form/react-hook-form#12463

In my case the problem was introduced by react-hook-form@7.54.0, I downgraded to react-hook-form@7.53.2 and now it works