mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 13:50:07 +00:00
[dir view] 'column' mode: fixup for the bug 'only render the first 100 items for a folder with more than 100 items' (#5929)
This commit is contained in:
@@ -67,6 +67,7 @@ const propTypes = {
|
||||
onFileTagChanged: PropTypes.func,
|
||||
showDirentDetail: PropTypes.func.isRequired,
|
||||
fullDirentList: PropTypes.array,
|
||||
onItemsScroll: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
class DirColumnView extends React.Component {
|
||||
@@ -173,7 +174,7 @@ class DirColumnView extends React.Component {
|
||||
onItemsMove={this.props.onItemsMove}
|
||||
/>
|
||||
<div className="dir-content-resize" onMouseDown={this.onResizeMouseDown}></div>
|
||||
<div className="dir-content-main" style={{userSelect: select, flex: mainFlex}}>
|
||||
<div className="dir-content-main" style={{userSelect: select, flex: mainFlex}} onScroll={this.props.isViewFile ? () => {} : this.props.onItemsScroll}>
|
||||
{this.props.isViewFile ? (
|
||||
<DirColumnFile
|
||||
path={this.props.path}
|
||||
|
Reference in New Issue
Block a user