浏览代码

fix(toolbox): hide toolbox when mouse outside toolbox area

master
hmuresan 4 年前
父节点
当前提交
24bf5a2dc3
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6
    5
      react/features/toolbox/components/web/Toolbox.js

+ 6
- 5
react/features/toolbox/components/web/Toolbox.js 查看文件

368
         return (
368
         return (
369
             <div
369
             <div
370
                 className = { rootClassNames }
370
                 className = { rootClassNames }
371
-                id = 'new-toolbox'
372
-                onFocus = { this._onTabIn }
373
-                onMouseOut = { this._onMouseOut }
374
-                onMouseOver = { this._onMouseOver }>
371
+                id = 'new-toolbox'>
375
                 { this._renderToolboxContent() }
372
                 { this._renderToolboxContent() }
376
             </div>
373
             </div>
377
         );
374
         );
1300
 
1297
 
1301
         return (
1298
         return (
1302
             <div className = { containerClassName }>
1299
             <div className = { containerClassName }>
1303
-                <div className = 'toolbox-content-wrapper'>
1300
+                <div
1301
+                    className = 'toolbox-content-wrapper'
1302
+                    onFocus = { this._onTabIn }
1303
+                    onMouseOut = { this._onMouseOut }
1304
+                    onMouseOver = { this._onMouseOver }>
1304
                     <div className = 'toolbox-content-items'>
1305
                     <div className = 'toolbox-content-items'>
1305
                         { this._renderAudioButton() }
1306
                         { this._renderAudioButton() }
1306
                         { this._renderVideoButton() }
1307
                         { this._renderVideoButton() }

正在加载...
取消
保存