react-tabulator icon indicating copy to clipboard operation
react-tabulator copied to clipboard

Error thrown when using groupBy with React-Tabs

Open sowhatdoido opened this issue 4 years ago • 2 comments

It seems like if you unmount a component with a Tabulator instance and remount another one right away, it'll throw an error if you use a groupBy function. I'm not entirely sure it's exclusively a compatibility issue with React tabs but that is my use case and I wanted to provide full context; If I set React-Tabs to force render all tabs, the error does not occur.

I modified the official code sandbox to add tabs to the first example, rendered the same element twice, and added groupBy: https://codesandbox.io/s/react-tabulator-examples-forked-idr3u?file=/src/components/Home.js

image

Clicking on Tab 2 throws: image

sowhatdoido avatar Dec 19 '21 00:12 sowhatdoido

I have this issue too. Could you check it, please?

p333ter avatar Feb 15 '22 14:02 p333ter

I have faced a similar issue. This only happens in unMount

hakamaq avatar Jun 15 '22 06:06 hakamaq