infinite-table / infinite-react

The modern React DataGrid for building apps — faster
https://infinite-table.com
73 stars 5 forks source link

Sorting / Draggable Bug #221

Closed sammyhajomar closed 7 months ago

sammyhajomar commented 7 months ago

When I have draggableColumns set to false and sortable set to false in my <InfiniteTable> sorting still occurs when you press on the column header. Only when I remove draggableColumns or set it to true it will disable sorting. I made sure the column specific overriding defaultSortable is not being utilized

I'm on version 3.2.10 and I'm using MacOS. The behavior is the same across different browsers.

A remake of the issue: https://codesandbox.io/p/devbox/infinite-table-nsj4hk

radubrehar commented 7 months ago

Thanks for the report - we're checking it and coming back with a fix!

radubrehar commented 7 months ago

Thanks @sammyhajomar for the bug report! Should be fixed now in 3.2.11, which has just been published.

Let us know if you have any other issues - happy to help!