vanilla-framework
vanilla-framework copied to clipboard
Sortable table has ascending and descending functionality/indicators swapped
Describe the bug
The sortable table provides ascending/descending indicators on table headers when clicked. However, the functionality and indicators themselves appear to be swapped - for instance, when the "descending" indicator appears, the data is actually presented in ascending manner, despite that the indicator shown is the down chevron.
To Reproduce
Steps to reproduce the behavior:
- Go to Sortable Table example
- Click on a table header, such as "Cores"
- Witness the table header switch to indicate the data is sorted in descending manner
- Witness the data within the table is actually sorted in ascending manner
Expected behavior
The sorting functionality and indicators should be aligned with one another.
Screenshots
Desktop (please complete the following information):
- Bug is present on all platforms