Skip to content

Commit 1190d55

Browse files
committed
allow scrolling the Recents lists
1 parent e53b1b8 commit 1190d55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/views/sis/course-search/search.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
import * as React from 'react'
4-
import {StyleSheet, View} from 'react-native'
4+
import {StyleSheet, View, ScrollView} from 'react-native'
55
import {TabBarIcon} from '../../components/tabbar-icon'
66
import * as c from '../../components/colors'
77
import {
@@ -221,7 +221,7 @@ class CourseSearchView extends React.Component<Props, State> {
221221
updateRecentFilters={this.props.updateRecentFilters}
222222
/>
223223
) : (
224-
<View style={[styles.common, styles.bottomContainer]}>
224+
<ScrollView style={[styles.common, styles.bottomContainer]}>
225225
<RecentItemsList
226226
emptyHeader="No recent searches"
227227
emptyText="Your recent searches will appear here."
@@ -238,7 +238,7 @@ class CourseSearchView extends React.Component<Props, State> {
238238
onItemPress={this.onRecentFilterPress}
239239
title="Browse"
240240
/>
241-
</View>
241+
</ScrollView>
242242
)}
243243
</View>
244244
)

0 commit comments

Comments
 (0)