mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
Don't show scrollbars if content is not scrollable
This commit is contained in:
parent
533ffd683e
commit
3396f4a46e
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ class Scrollbar extends React.Component
|
|||
bottom: 0
|
||||
right: 0
|
||||
zIndex: 2
|
||||
visibility: "hidden" if @state.totalHeight != 0 && @state.totalHeight == @state.viewportHeight
|
||||
|
||||
_onHandleDown: (event) =>
|
||||
handleNode = React.findDOMNode(@refs.handle)
|
||||
|
|
Loading…
Reference in a new issue