Draggable FlatTable error in DevTools > Console: 'Failed prop type: Invalid prop `rowRef` supplied...'
Description
There is an error logged in DevTools Console when rendering Draggable FlatTable; namely
'Failed prop type: Invalid prop rowRef supplied to FlatTableRowDraggable, expected one of type [function].'
Reproduction
https://stackblitz.com/edit/parsium-carbon-starter-iekazx6v?file=src%2FApp.tsx,package.json,src%2FApp.spec.tsx
Steps to reproduce
GIVEN I render a Draggable FlatTable
WHEN I open DevTools > Console
THEN I see an error 'Failed prop type: Invalid prop rowRef supplied to FlatTableRowDraggable, expected one of type [function].'
JIRA ticket numbers (Sage only)
No response
Suggested solution
No response
Carbon version
142.13.5
Design tokens version
No response
Relevant browsers
Chrome, Microsoft Edge
Relevant OSs
Windows, Linux
Additional context
I can reproduce in stackblitz using the latest _carbon v147.0.0
Confidentiality
- [x] I confirm there is no confidential or commercially sensitive information included.
FE-7069
To update - this is currently blocked until we replace Carbon's Draggable implementation
:tada: This issue has been resolved in version 158.2.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: