Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

170
Vistas
How to hide keyboard in React Native

I'm a novice developer. I have a project that requires a barcode scanner. which is developed with react native. I want to hide the keyboard. I can hide it but when I open the app and fold it and reopen it. My cursor is out of focus. And if I press any other area in the app, my cursor will not focus as well. I want to know why and solutions for this. Thank you for the advice :,

My app only works on android 7.

const dataInput = useRef(null)
const [data, setData] = useState('')

useEffect(() => {
    setData('')
    dataInput.current.focus()
  }, [isFoucs])


       <TextInput
          value={data}
          onChangeText={e => setData(e)}
          returnKeyType="go"
          ref={dataInput}
          onSubmitEditing={checkData}
          showSoftInputOnFocus={false}
        /> 

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda