Merge branch 'develop' into luke/fix-group-avatar-update

This commit is contained in:
Luke Barnard
2018-03-01 15:27:06 +00:00
5 changed files with 23 additions and 12 deletions

View File

@@ -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({
<GeminiScrollbar
className="mx_TagPanel_scroller"
autoshow={true}
onClick={this.onClick}
// 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/6253
onMouseDown={this.onMouseDown}
>
<Droppable
droppableId="tag-panel-droppable"

View File

@@ -79,6 +79,7 @@ const SIMPLE_SETTINGS = [
{ id: "Pill.shouldHidePillAvatar" },
{ id: "TextualBody.disableBigEmoji" },
{ id: "VideoView.flipVideoHorizontally" },
{ id: "TagPanel.disableTagPanel" },
];
// These settings must be defined in SettingsStore