react-native-card-flip icon indicating copy to clipboard operation
react-native-card-flip copied to clipboard

text doesn't display

Open xavierartot opened this issue 6 years ago • 3 comments

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',
  },
})

xavierartot avatar Sep 14 '18 23:09 xavierartot

on android or iOS?

lhandel avatar Sep 28 '18 11:09 lhandel

IOS

xavierartot avatar Nov 10 '18 00:11 xavierartot

Having the same problem, any news on this issue?

butri71 avatar Oct 30 '20 17:10 butri71