@@ -5,6 +5,7 @@ import { ISiteFilePickerTabState } from './ISiteFilePickerTabState';
5
5
import { DocumentLibraryBrowser } from '../controls/DocumentLibraryBrowser/DocumentLibraryBrowser' ;
6
6
import { FileBrowser } from '../controls/FileBrowser/FileBrowser' ;
7
7
import { PrimaryButton , DefaultButton } from 'office-ui-fabric-react/lib/components/Button' ;
8
+ import { ScrollablePane } from 'office-ui-fabric-react/lib/ScrollablePane' ;
8
9
import { Breadcrumb } from 'office-ui-fabric-react/lib/Breadcrumb' ;
9
10
import { IFile , IFolder , ILibrary } from '../../../services/FileBrowserService.types' ;
10
11
import { IFilePickerResult , FilePickerBreadcrumbItem } from '../FilePicker.types' ;
@@ -177,10 +178,14 @@ export default class SiteFilePickerTab extends React.Component<ISiteFilePickerTa
177
178
</ div >
178
179
< div className = { styles . tabFiles } >
179
180
{ this . state . libraryAbsolutePath === undefined &&
180
- < DocumentLibraryBrowser
181
- fileBrowserService = { this . props . fileBrowserService }
182
- includePageLibraries = { this . props . includePageLibraries }
183
- onOpenLibrary = { ( selectedLibrary : ILibrary ) => this . _handleOpenLibrary ( selectedLibrary , true ) } /> }
181
+ < div className = { styles . scrollablePaneWrapper } >
182
+ < ScrollablePane >
183
+ < DocumentLibraryBrowser
184
+ fileBrowserService = { this . props . fileBrowserService }
185
+ includePageLibraries = { this . props . includePageLibraries }
186
+ onOpenLibrary = { ( selectedLibrary : ILibrary ) => this . _handleOpenLibrary ( selectedLibrary , true ) } />
187
+ </ ScrollablePane >
188
+ </ div > }
184
189
{ this . state . libraryAbsolutePath !== undefined &&
185
190
< FileBrowser
186
191
onChange = { ( filePickerResults : IFilePickerResult [ ] ) => this . _handleSelectionChange ( filePickerResults ) }
0 commit comments