Skip to content

Releases: patricktran/react-table-hoc-draggable-columns

1.3.2

05 May 22:45
Compare
Choose a tag to compare

Bugfix/Edge case - 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

1.3.1

20 Apr 20:52
Compare
Choose a tag to compare

Maintenance release adding null checks

1.3.0

06 Apr 16:42
Compare
Choose a tag to compare

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

1.2.5

01 Jul 04:43
Compare
Choose a tag to compare
Remove scarf

1.2.4

16 May 23:13
Compare
Choose a tag to compare

Add scarf installation analytics

1.2.3

10 Apr 23:33
Compare
Choose a tag to compare

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

1.2.2

17 Jan 23:15
Compare
Choose a tag to compare
Bug fix that prevented sorting on a draggable column

Bug fix for `enableColumnWideDrag` prop by adding css `display: inline-flex` when set to {false}

1.2.1

10 Oct 00:05
Compare
Choose a tag to compare
bug fix for converting htmlCollection to a js array

1.2.0

09 Oct 22:46
Compare
Choose a tag to compare

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

1.1.6

23 Sep 20:47
Compare
Choose a tag to compare

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})