fix(toolbox): hide toolbox when mouse outside toolbox area
This commit is contained in:
parent
6ee868032e
commit
24bf5a2dc3
|
@ -368,10 +368,7 @@ class Toolbox extends Component<Props> {
|
|||
return (
|
||||
<div
|
||||
className = { rootClassNames }
|
||||
id = 'new-toolbox'
|
||||
onFocus = { this._onTabIn }
|
||||
onMouseOut = { this._onMouseOut }
|
||||
onMouseOver = { this._onMouseOver }>
|
||||
id = 'new-toolbox'>
|
||||
{ this._renderToolboxContent() }
|
||||
</div>
|
||||
);
|
||||
|
@ -1300,7 +1297,11 @@ class Toolbox extends Component<Props> {
|
|||
|
||||
return (
|
||||
<div className = { containerClassName }>
|
||||
<div className = 'toolbox-content-wrapper'>
|
||||
<div
|
||||
className = 'toolbox-content-wrapper'
|
||||
onFocus = { this._onTabIn }
|
||||
onMouseOut = { this._onMouseOut }
|
||||
onMouseOver = { this._onMouseOver }>
|
||||
<div className = 'toolbox-content-items'>
|
||||
{ this._renderAudioButton() }
|
||||
{ this._renderVideoButton() }
|
||||
|
|
Loading…
Reference in New Issue