Autodesk / Autodesk/react-base-table

SortIndicator bug

Open
#414 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
170
PR merge metrics
No merged PRs in 30d

Description

Whenever you toggle from desc to null, the returned value to SortIndicator is asc and you could not be able to customize your own component state. When we mouse over the indicator, it displays asc even if it has not sort at all

Contributor guide

Open the contributing guide

Research direction

Start at the SortIndicator entry point and reproduce the toggle from desc to null, then inspect the value passed to the indicator and its hover display. Done means an unsorted state remains null rather than becoming asc, allowing a custom component to represent that state correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.