Skip to content

Commit be9266f

Browse files
authored
Merge pull request #871 from cwparsons/dev
Fix #799 React error in FileBrowser paging
2 parents df06f88 + 71f3e01 commit be9266f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/filePicker/controls/FileBrowser/FileBrowser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class FileBrowser extends React.Component<IFileBrowserProps, IFileBrowser
185185
selectionPreservedOnEmptyClick={true}
186186
enterModalSelectionOnTouch={true}
187187
onRenderRow={this._onRenderRow}
188-
onRenderMissingItem={this._loadNextDataRequest}
188+
onRenderMissingItem={() => { this._loadNextDataRequest(); return null; }}
189189
/>) :
190190
(<TilesList
191191
fileBrowserService={this.props.fileBrowserService}

0 commit comments

Comments
 (0)