Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Comment workaround to atlassian/react-beautiful-dnd#273
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebarnard1 committed Jan 16, 2018
1 parent bda2d6b commit f19dcd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/structures/TagPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ const TagPanel = React.createClass({
<div
className="mx_TagPanel_tagTileContainer"
ref={provided.innerRef}
// react-beautiful-dnd has a bug that emits a click to the parent
// of draggables upon dropping
// https://github.com/atlassian/react-beautiful-dnd/issues/273
// so we use onMouseDown here as a workaround.
onMouseDown={this.onClick}
>
{ tags }
Expand Down

0 comments on commit f19dcd8

Please sign in to comment.