1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00
This commit is contained in:
lukebarnard
2018-01-16 11:07:25 +00:00
parent bda2d6b0a6
commit f19dcd8114

View File

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