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:
@@ -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
|
||||
|
Reference in New Issue
Block a user