Bugfix - only call onDraggedColumnChange
when column ordering is changed in ReactTable.
We do not want to call onDraggedColumnChange
if column order is changed outside of ReactTable... this may
lead to an infinite loop depending on your use case.
Update eslint/prettier config
Maintenance release adding null/optional chaining checks
Refactor rendering process so that calling setState
inside onDraggedColumnChange
will not crash the HOC
onDraggedColumnChange
and onDropSuccess
callback method arguments refer to the original column instance and not the modified draggable instance
Remove scarf
Cleanup - remove leftover console.logs Add scarf installation analytics
Bug fix that prevented onDraggedColumnChange
from being called if columns dragged back to their original order
Bug fix for column re-ordering not working if any of the React Table columns have show: false
defined
Bug fix that prevented sorting on a draggable column
Bug fix for enableColumnWideDrag
prop by adding css display: inline-flex
when set to {false}
Bug fix for correctly converting a HTML Collection to Javascript array (was broken for some browsers)
New prop onDropSuccess
callback to obtain column information and indexes for the ondrop event (probably more info than you want to know!)
Breaking Change: Headers are now wrapped by a div
rather than span
. This was necessary to support column.header defined as a component
Bug fix for reorder indicators flickering when dragleave event fired when hovering over a child element
Props for additional class names for reorder indicator up and reorder indicator down
Do not allow reorder indicators to appear outside X bounds of React Table (apparent when disableTableScroll={false})
New prop enableColumnWideDrag
to control a column's draggable hotspot - Set to {false} if you experience buggyness when using with react-table column sorting/resizing functionality
Bug fix for calls made to onDraggedColumnChange
when column ordering has not changed
Bug fix for reordering columns not working as expected under certain edge cases
Initial release