[FIX] Announcement field triggers password suggestion (#4305)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
This commit is contained in:
parent
303d127949
commit
8563453735
|
@ -3,7 +3,7 @@ import { Q } from '@nozbe/watermelondb';
|
|||
import { BlockContext } from '@rocket.chat/ui-kit';
|
||||
import { dequal } from 'dequal';
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import { Alert, Keyboard, ScrollView, Text, TextInput, TouchableOpacity, View } from 'react-native';
|
||||
import { Alert, Keyboard, ScrollView, Text, TextInput, TouchableOpacity, View, StyleSheet } from 'react-native';
|
||||
import ImagePicker, { Image } from 'react-native-image-crop-picker';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
|
@ -630,6 +630,14 @@ class RoomInfoEditView extends React.Component<IRoomInfoEditViewProps, IRoomInfo
|
|||
theme={theme}
|
||||
testID='room-info-edit-view-announcement'
|
||||
/>
|
||||
{/* This TextInput avoid appears the password fill when typing into Announcements TextInput */}
|
||||
<View style={{ height: StyleSheet.hairlineWidth, overflow: 'hidden' }}>
|
||||
<TextInput
|
||||
style={{
|
||||
height: StyleSheet.hairlineWidth
|
||||
}}
|
||||
/>
|
||||
</View>
|
||||
<FormTextInput
|
||||
inputRef={e => {
|
||||
this.joinCode = e;
|
||||
|
|
Loading…
Reference in New Issue