-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Datatable: customRestoreState columnReordering duplicates columns #3470
Comments
This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you for your understanding! |
Describe the bug
See codesandbox, when columns are reordered, duplicate columns are added
https://codesandbox.io/s/bold-grass-8fti1r?file=/src/demo/DataTableStateDemo.js
Reproducer
https://codesandbox.io/s/bold-grass-8fti1r?file=/src/demo/DataTableStateDemo.js
PrimeReact version
8.6.1
React version
17.x
Language
ES6
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Columns should not be duplicated when re-ordered
The text was updated successfully, but these errors were encountered: