mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28: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%',
|
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>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue