diff --git a/src/components/structures/TagPanel.js b/src/components/structures/TagPanel.js index 3d76a967a2..8db2a12aff 100644 --- a/src/components/structures/TagPanel.js +++ b/src/components/structures/TagPanel.js @@ -84,7 +84,7 @@ const TagPanel = React.createClass({ } }, - onClick(e) { + onMouseDown(e) { dis.dispatch({action: 'deselect_tags'}); }, @@ -128,7 +128,9 @@ const TagPanel = React.createClass({ + // XXX: Use onMouseDown as a workaround for https://github.com/atlassian/react-beautiful-dnd/issues/273 + // instead of onClick. Otherwise we experience https://github.com/vector-im/riot-web/issues/6156 + return { (droppableProvided, droppableSnapshot) => (