Skip to content

White text on white background when keyboard is in fullscreen mode #25692

Description

@Tiamatmate

React Native version: 0.59.10

Steps To Reproduce

  1. Add the TextInput component with white text
  2. Make sure your device has Android OS and is in landscape mode
  3. Keyboard has white background and the text stays white rendering it invisible

Describe what you expected to happen:
The text should have a black color in fullscreen mode.

Snack, code example, or link to a repository:

                                    <TextInput
                                        underlineColorAndroid='transparent'
                                        placeholder={getTranslations('login.email', language)}
                                        placeholderTextColor='rgba(255, 255, 255, 0.5)'
                                        autoCapitalize='none'
                                        style={{..color: 'white'}}
                                        keyboardType='email-address'
                                        value={inputEmail}
                                        onSubmitEditing={() => this.passwordInput.focus()}
                                        returnKeyType='next'
                                        autoCorrect={false}
                                        onChangeText={(text) => {
                                            this.setState({
                                                inputEmail: text,
                                            });
                                        }}
                                    />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: KeyboardBugPlatform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions