1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

Modify some format

This commit is contained in:
zxj96
2019-04-24 10:24:09 +08:00
parent 301effa623
commit 9c3c63c743
3 changed files with 3 additions and 8 deletions

View File

@@ -248,7 +248,7 @@ class DirColumnNav extends React.Component {
}));
}
handleScroll = (e) => {
stopTreeScrollPropagation = (e) => {
e.stopPropagation();
}
@@ -257,7 +257,7 @@ class DirColumnNav extends React.Component {
const select = this.props.inResizing ? 'none' : '';
return (
<Fragment>
<div className="dir-content-nav" role="navigation" style={{flex: (flex), userSelect: select}} onScroll={this.handleScroll}>
<div className="dir-content-nav" role="navigation" style={{flex: (flex), userSelect: select}} onScroll={this.stopTreeScrollPropagation}>
{this.props.isTreeDataLoading ?
(<Loading/>) :
(<TreeView