Skip to content

Conversation

@Danchoys
Copy link

@Danchoys Danchoys commented Oct 6, 2025

Why is it needed

Library crashes instantly when someone presses on a filter to open the dropdown with possible values with a "t.findDOMNode is not a function" error.

Why is it happening

react-pivottable is using an older version of react-draggable library that uses a currently deprecated API from React: ReactDOM.findDOMNode.

What is changed

  • react-draggable upgraded to @^4.5.0
  • Added the necessary nodeRef and ref props as per react-draggable docs
  • Added the prepare script to be able to install it from my fork :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant