Enable tapping on channels when jump to textfield is focused. (#2535)
* Allow tapping on channels in the filtered list … … when the keyboard is open. This option also allows tapping on non-interactive areas to still dismiss the keyboard. * keyboard propery updates - change ‘on-drag’ to ‘interractive’ - change ‘handled’ to ‘always’ to be more consistent with other uses of same property * support multiple keyboard dismiss modes
This commit is contained in:
parent
ac2bdc9fe3
commit
da32c22c56
1 changed files with 3 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import {
|
|||
Text,
|
||||
TouchableHighlight,
|
||||
View,
|
||||
Platform,
|
||||
} from 'react-native';
|
||||
import {injectIntl, intlShape} from 'react-intl';
|
||||
import MaterialIcon from 'react-native-vector-icons/MaterialIcons';
|
||||
|
|
@ -396,7 +397,8 @@ class FilteredList extends Component {
|
|||
renderItem={this.renderItem}
|
||||
keyExtractor={(item) => item.id}
|
||||
onViewableItemsChanged={this.updateUnreadIndicators}
|
||||
keyboardDismissMode='on-drag'
|
||||
keyboardDismissMode={Platform.OS === 'ios' ? 'interactive' : 'on-drag'}
|
||||
keyboardShouldPersistTaps='always'
|
||||
maxToRenderPerBatch={10}
|
||||
viewabilityConfig={VIEWABILITY_CONFIG}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue