Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android TextInput doesn't display its UI #9862

Closed
jbrodriguez opened this issue Sep 12, 2016 · 2 comments
Closed

Android TextInput doesn't display its UI #9862

jbrodriguez opened this issue Sep 12, 2016 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@jbrodriguez
Copy link

Issue Description

The TextInput component for Android doesn't display its UI in 0.33

This is how it looks

image

I've traced the issue back to this commit 959c8b1#diff-b48972356bc8dca4a00747d002fc3dd5

Not sure if the spread operator is working as expected.

Steps to Reproduce / Code Snippets

If you revert the commit, it works fine.

Just use TextInput on Android.

I tried this with react-native-form-generator.

It works fine on ios, it's just android having the issue.

Expected Results

This is how it should look (and how it looks with the commit reverted)

image

Additional Information

  • React Native version: 0.33
  • Platform(s) (iOS, Android, or both?): android
  • Operating System (macOS, Linux, or Windows?): macOS
@jbrodriguez jbrodriguez changed the title Android TextInput doesn't display it's UI Android TextInput doesn't display its UI Sep 12, 2016
@jbrodriguez
Copy link
Author

Closing since this is an issue with react-native-form-generator, not RN's TextInput

@omerdn1
Copy link

omerdn1 commented Oct 7, 2016

This is actually an issue with RN, I'm having the exact same issue. I can type into TextInput but the UI won't show up.
EDIT: The basic code that I'm using:

import React, { Component } from 'react';
import { TextInput, View } from 'react-native';

class LoginForm extends Component {
  render() {
    return (
      <View>
        <TextInput style={{ height: 20, width: 100 }} />
      </View>
    );
  }
}

export default LoginForm;

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants