mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Hide scrollbar when webview is active (#209)
This commit is contained in:
parent
13c40c9a38
commit
2ecc23fe1f
1 changed files with 4 additions and 5 deletions
|
|
@ -177,12 +177,11 @@ export default class Term extends Component {
|
|||
width: '100%',
|
||||
height: '100%'
|
||||
}}></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 }
|
||||
</div>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue