From 0e6c123b001e19dd1440ae0951c0bef31600d29e Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Tue, 3 Apr 2018 23:08:27 +0900 Subject: [PATCH] Make tabs undraggable --- src/browser/components/TabBar.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/browser/components/TabBar.jsx b/src/browser/components/TabBar.jsx index 10c4d97a..bfd0edca 100644 --- a/src/browser/components/TabBar.jsx +++ b/src/browser/components/TabBar.jsx @@ -49,6 +49,9 @@ class TabBar extends React.Component { // need "this" /> ); + + // draggable=false is a workaround for https://github.com/mattermost/desktop/issues/667 + // It would obstruct https://github.com/mattermost/desktop/issues/478 return ( {team.name} { ' ' } @@ -71,6 +75,7 @@ class TabBar extends React.Component { // need "this" id='addServerButton' eventKey='addServerButton' title='Add new server' + draggable={false} >