mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
stopPropagation
This commit is contained in:
@@ -56,9 +56,6 @@ class DirColumnNav extends React.Component {
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
if (!nextProps.currentNode) {
|
||||
return;
|
||||
}
|
||||
this.setState({opNode: nextProps.currentNode});
|
||||
}
|
||||
|
||||
|
@@ -363,10 +363,14 @@ class FileChooser extends React.Component {
|
||||
this.onCloseSearching();
|
||||
}
|
||||
|
||||
onScroll = (event) => {
|
||||
event.stopPropagation();
|
||||
}
|
||||
|
||||
renderRepoListView = () => {
|
||||
|
||||
return (
|
||||
<div className="file-chooser-container user-select-none">
|
||||
<div className="file-chooser-container user-select-none" onScroll={this.onScroll}>
|
||||
{this.props.mode === 'current_repo_and_other_repos' && (
|
||||
<Fragment>
|
||||
<div className="list-view">
|
||||
|
Reference in New Issue
Block a user