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

text doesn't display #3

Open
xavierartot opened this issue Sep 14, 2018 · 3 comments
Open

text doesn't display #3

xavierartot opened this issue Sep 14, 2018 · 3 comments

Comments

@xavierartot
Copy link

xavierartot commented Sep 14, 2018

The cart itself works but we can't see the text?

          <TouchableOpacity onPress={() => this.card.flip()} style={styles.card}>
            <Text style={styles.text}>ADDDDDDDDDDDDDDDB</Text>
          </TouchableOpacity>
          <TouchableOpacity onPress={() => this.card.flip()} style={styles.card}>
            <Text style={styles.text}>CDDDDDDDDDDDDDDDD</Text>
          </TouchableOpacity>
        </CardFlip>

my style

  container: {
    flex: 1,
  },
  cardContainer: {
    width: 150,
    height: 150,
    backgroundColor: '#f00',
    padding: 30,
    justifyContent: 'center',
    alignItems: 'center',
  },
  card: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  },
  text: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
    color: 'white',
  },
})
@lhandel
Copy link
Owner

lhandel commented Sep 28, 2018

on android or iOS?

@xavierartot
Copy link
Author

IOS

@butri71
Copy link

butri71 commented Oct 30, 2020

Having the same problem, any news on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants