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

141
Vistas
How to make text selection work when inside view and is inside TouchableWithoutFeedback in React Native in android

I have a situation where I have a post, post has content in it, when user clicks on post's content on the home user should be redirected to another page and user is also able to select the text on the same Home Screen.

I have tried doing this

<TouchableWithoutFeedback
    accessibilityRole="text"
    onPress={navigateToSomeScreen}
    onLongPress={() => { return null}}
>
    <View
        accessibilityRole="text"
    >
        <Text
            selectable
        >
            enter code here
        </Text>
    </View>
</TouchableWithoutFeedback>

But still its not working. When long press on the text nothing happens. I works on iOS but it's not working properly on android.

Any suggestions or any advices how can achieve it?

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