fix(ios) disable QuickType bar on iOS15 when not using autocorrect
See: https://reactnative.dev/blog/2021/09/01/preparing-your-app-for-iOS-15-and-android-12#quicktype-bar
This commit is contained in:
parent
09835a672b
commit
f63b161955
|
@ -167,6 +167,7 @@ class LoginDialog extends Component<Props, State> {
|
|||
onChangeText = { this._onUsernameChange }
|
||||
placeholder = { 'user@domain.com' }
|
||||
placeholderTextColor = { PLACEHOLDER_COLOR }
|
||||
spellCheck = { false }
|
||||
style = { _dialogStyles.field }
|
||||
underlineColorAndroid = { FIELD_UNDERLINE }
|
||||
value = { this.state.username } />
|
||||
|
|
|
@ -200,6 +200,7 @@ class AddPeopleDialog extends AbstractAddPeopleDialog<Props, State> {
|
|||
}
|
||||
placeholderTextColor = { ColorPalette.lightGrey }
|
||||
ref = { this._setFieldRef }
|
||||
spellCheck = { false }
|
||||
style = { styles.searchField }
|
||||
value = { this.state.fieldValue } />
|
||||
{ this._renderClearButton() }
|
||||
|
|
|
@ -170,6 +170,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
|||
mode = 'outlined'
|
||||
onChangeText = { this._onChangeDisplayName }
|
||||
placeholder = 'John Doe'
|
||||
spellCheck = { false }
|
||||
style = { styles.textInputContainer }
|
||||
textContentType = { 'name' } // iOS only
|
||||
theme = {{
|
||||
|
@ -188,6 +189,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
|||
mode = 'outlined'
|
||||
onChangeText = { this._onChangeEmail }
|
||||
placeholder = 'email@example.com'
|
||||
spellCheck = { false }
|
||||
style = { styles.textInputContainer }
|
||||
textContentType = { 'emailAddress' } // iOS only
|
||||
theme = {{
|
||||
|
@ -212,6 +214,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
|
|||
onBlur = { this._onBlurServerURL }
|
||||
onChangeText = { this._onChangeServerURL }
|
||||
placeholder = { this.props._serverURL }
|
||||
spellCheck = { false }
|
||||
style = { styles.textInputContainer }
|
||||
textContentType = { 'URL' } // iOS only
|
||||
theme = {{
|
||||
|
|
|
@ -311,6 +311,7 @@ class WelcomePage extends AbstractWelcomePage {
|
|||
placeholder = { this.state.roomPlaceholder }
|
||||
placeholderTextColor = { PLACEHOLDER_TEXT_COLOR }
|
||||
returnKeyType = { 'go' }
|
||||
spellCheck = { false }
|
||||
style = { styles.textInput }
|
||||
underlineColorAndroid = 'transparent'
|
||||
value = { this.state.room } />
|
||||
|
|
Loading…
Reference in New Issue