primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.72k stars 1.02k forks source link

TreeTable: wrong sort icon state #6906

Open BAISTM opened 2 months ago

BAISTM commented 2 months ago

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

ujshaikh commented 2 months ago

@melloware I will check it, please assign to me

melloware commented 2 months ago

@ujshaikh done!