Skip to content

Not working properly with react version 18 #164

Open

Description

@gmanikamevd

It creates duplicate row and columns both with react version 18

duplicate_row_column

Activity

  1. san7iix commented on Mar 8, 2023

    @san7iix

    I have the same issue...

  2. TuanMinPay commented on Mar 22, 2023

    @TuanMinPay

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

  3. jamesthesken commented on Apr 22, 2023

    @jamesthesken

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

  4. added a commit that references this issue on Sep 28, 2023
  5. avinean commented on Sep 17, 2024

    @avinean

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions