carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Draggable FlatTable error in DevTools > Console: 'Failed prop type: Invalid prop `rowRef` supplied...'

Open LPTSage opened this issue 1 year ago • 1 comments

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.

LPTSage avatar Jan 30 '25 10:01 LPTSage

FE-7069

Parsium avatar Feb 04 '25 14:02 Parsium

To update - this is currently blocked until we replace Carbon's Draggable implementation

nineteen88 avatar Sep 30 '25 15:09 nineteen88

:tada: This issue has been resolved in version 158.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Nov 03 '25 14:11 carbonci