You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Comment workaround to atlassian/react-beautiful-dnd#273
This commit is contained in:
@@ -118,6 +118,10 @@ const TagPanel = React.createClass({
|
|||||||
<div
|
<div
|
||||||
className="mx_TagPanel_tagTileContainer"
|
className="mx_TagPanel_tagTileContainer"
|
||||||
ref={provided.innerRef}
|
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}
|
onMouseDown={this.onClick}
|
||||||
>
|
>
|
||||||
{ tags }
|
{ tags }
|
||||||
|
|||||||
Reference in New Issue
Block a user