Skip to content

Commit be63235

Browse files
committed
Merge branch 'develop' of https://github.com/namespace-ee/react-calendar-timeline into develop
2 parents 9661032 + c8e32f5 commit be63235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/items/Item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default class Item extends Component {
237237
this.props.selected && (this.canResizeLeft() || this.canResizeRight())
238238
})
239239
.draggable({
240-
enabled: this.props.selected
240+
enabled: this.props.selected && this.canMove()
241241
})
242242
.styleCursor(false)
243243
.on('dragstart', e => {

0 commit comments

Comments
 (0)