Skip to content

Commit

Permalink
Highlight dragged item
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSidSmith committed Jan 27, 2015
1 parent 0dc90d0 commit 7b680d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion reorderable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7b680d1

Please sign in to comment.