Hide scrollbar when webview is active (#209)

This commit is contained in:
Marc Bachmann 2016-07-17 22:38:02 +02:00 committed by Guillermo Rauch
parent 13c40c9a38
commit 2ecc23fe1f

View file

@ -177,12 +177,11 @@ export default class Term extends Component {
width: '100%', width: '100%',
height: '100%' height: '100%'
}}></webview> }}></webview>
: null : <div
className={ css('scrollbarShim') }
onMouseEnter={ this.onScrollEnter }
onMouseLeave={ this.onScrollLeave } />
} }
<div
className={ css('scrollbarShim') }
onMouseEnter={ this.onScrollEnter }
onMouseLeave={ this.onScrollLeave } />
{ this.props.customChildren } { this.props.customChildren }
</div>; </div>;
} }