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
The Dropdown component, while it accepts refs, results in an error when a ref is provided:
Property 'ref' does not exist on type 'IntrinsicAttributes & Omit<DropdownProps<any> & { children?: ReactNode; } & RefAttributes<HTMLButtonElement>, "ref">'
Package
@carbon/react
Browser
No response
Package version
1.72.0
React version
18.0.0
Description
The Dropdown component, while it accepts refs, results in an error when a ref is provided:
Property 'ref' does not exist on type 'IntrinsicAttributes & Omit<DropdownProps<any> & { children?: ReactNode; } & RefAttributes<HTMLButtonElement>, "ref">'
Reproduction/example
https://stackblitz.com/edit/github-kkc9gdtn?file=src%2FApp.tsx
Steps to reproduce
useRef()
,Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
Lineage UI
Code of Conduct
The text was updated successfully, but these errors were encountered: