diff --git a/bower.json b/bower.json index 4c7b7f8d..d171a457 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "react-reorderable", - "version": "1.2.0", + "version": "1.2.1", "description": "Drag & drop, touch enabled, reorderable / sortable list, React component", "homepage": "https://github.com/JakeSidSmith/react-reorderable", "license": "MIT", diff --git a/package.json b/package.json index 88b80c43..1390d5c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-reorderable", - "version": "1.2.0", + "version": "1.2.1", "description": "Drag & drop, touch enabled, reorderable / sortable list, React component", "author": "Jake 'Sid' Smith", "license": "MIT", diff --git a/reorderable.js b/reorderable.js index 598b94f6..149c51fd 100644 --- a/reorderable.js +++ b/reorderable.js @@ -478,7 +478,7 @@ var targetClone = function () { if (self.state.held && self.state.dragged) { var itemKey = self.state.dragged.item[self.props.itemKey] || self.state.dragged.item; - var itemClass = [self.props.itemClass, self.getDraggedClass(self.state.dragged.item)].join(' '); + var itemClass = [self.props.itemClass, self.getDraggedClass(self.state.dragged.item), self.getSelectedClass(self.state.dragged.item)].join(' '); return React.createElement('div', { key: itemKey, className: itemClass,