Placeholder of Textinput breaking after typing

Asked

Viewed 30 times

1

I have a TextInput that when it starts works normal, but after the user type something and delete, the placeholder breaks into two lines.

When starting the screen

Ao iniciar

After typing and deleting

Digitar e apagar

<TextInput
  editable
  placeholder='FAÇA UMA BUSCA EM TODO SISTEMA'
  placeholderTextColor={COLORS.DUSTY_GRAY}
  ref={inputRef}
  returnKeyType='search'
  style={styles.input}
  value={value}
/>
input: {
    flex: 1,
    fontSize: 14,
    marginHorizontal: 10,
    color: COLORS.DUSTY_GRAY,
},
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.