Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working properly with react version 18 #164

Open
gmanikamevd opened this issue Mar 3, 2023 · 4 comments
Open

Not working properly with react version 18 #164

gmanikamevd opened this issue Mar 3, 2023 · 4 comments

Comments

@gmanikamevd
Copy link

gmanikamevd commented Mar 3, 2023

It creates duplicate row and columns both with react version 18

duplicate_row_column

@san7iix
Copy link

san7iix commented Mar 8, 2023

I have the same issue...

@TuanMinPay
Copy link

same ... it's not working with react v18

@jamesthesken
Copy link

There is a fork of this repo published in issue #150

akx added a commit to koodiklinikka/palkkakysely that referenced this issue Sep 28, 2023
@avinean
Copy link

avinean commented Sep 17, 2024

@gmanikamevd It would be nice to see a small reproduction of the issue.
But I assume that you have some setState in the parent component.
Also, I assume you are listening to onChange event on PivotTable, and change the state in onChange callback.
Also, I assume you pass that props to PivotTable as props.

If I describe the situation correctly then wrapping setState with flushSync will help

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

No branches or pull requests

5 participants