ソースを参照

fix(Toolbar): Fix toolbar not hiding on mobile

master
Mihai-Andrei Uscat 3年前
コミット
9ee75038b6
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更4行の追加2行の削除
  1. 4
    2
      react/features/toolbox/components/web/Toolbox.js

+ 4
- 2
react/features/toolbox/components/web/Toolbox.js ファイルの表示

@@ -1179,8 +1179,10 @@ class Toolbox extends Component<Props> {
1179 1179
                 <div
1180 1180
                     className = 'toolbox-content-wrapper'
1181 1181
                     onFocus = { this._onTabIn }
1182
-                    onMouseOut = { this._onMouseOut }
1183
-                    onMouseOver = { this._onMouseOver }>
1182
+                    { ...(_isMobile ? {} : {
1183
+                        onMouseOut: this._onMouseOut,
1184
+                        onMouseOver: this._onMouseOver
1185
+                    }) }>
1184 1186
                     <DominantSpeakerName />
1185 1187
                     <div className = 'toolbox-content-items'>
1186 1188
                         {mainMenuButtons.map(({ Content, key, ...rest }) => Content !== Separator && (

読み込み中…
キャンセル
保存