primereact
primereact copied to clipboard
TreeTable: wrong sort icon state
Describe the bug
The sort icon doesn't change when sorting a column.
It happens when the column's field
property value is different than the sortField
property value.
Reproducer
https://stackblitz.com/edit/djpcam-ghutcr?file=src%2FApp.jsx
PrimeReact version
10.7.0
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Sort Name column.
Expected behavior
No response