Repository navigation
[navigation menu] Correct mismatched ForwardedRef types - #3775
Conversation
commit: |
Greptile SummaryFixed type mismatches where
This resolves TypeScript errors where, for example, Confidence Score: 5/5
Important Files Changed
|
Greptile found no issues!From now on, if a review finishes and we haven't found any issues, we will not post anything, but you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
atomiks
left a comment
There was a problem hiding this comment.
Thanks for the fix - can you run pnpm docs:api?
|
Never mind, the generated tests were referring to deduplication, not docs (+ the other tests are flaking and are unrelated to these changes) |
The
ForwardedRef<...>type ofNavigationMenuList,NavigationMenuItem, andNavigationMenuIcondoes not match the tag used inuseRenderElementfunction.This results in the following error, for example:
Type 'HTMLDivElement' is missing the following properties from type 'HTMLUListElement': compact, typeFixes #3784