designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

Using asChild-prop on DropdownItem generates errors

Open hansenalexander opened this issue 4 months ago • 2 comments

Description of the bug

Using asChild on DropdownItem causes an error:

Warning: React does not recognize the asChild prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase aschild instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Full stacktrace: dropdownitem-asChild.txt

Steps To Reproduce

Use asChild-prop on DropdownItem

Additional Information

No response

hansenalexander avatar Sep 30 '24 07:09 hansenalexander