halilb / halilb/react-native-textinput-effects

Prop 'selectTextOnFocus' doesn't work on iOS

Abierto
#124 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3k
Forks
287
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I want the text of a Kohona element to be selected as soon as the TextInput is klicked. This works fine on Android, but on iOS it doesn't. I already had a look at the Kohona.js file of the library but I couldn't find the problem.

I also tried clearTextOnFocus, this works fine on iOS. Also, if I use a normal RN , it works as well.

Some of my dependencies:
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-textinput-effects": "0.6.1",

This is my code:

```javascript

import {Hideo, Kohana, Kaede} from 'react-native-textinput-effects';
// ...
this.setPoints(typeOfPoints, input)}
selectTextOnFocus={true}
useNativeDriver
/>
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Reproduce the issue on iOS using the Kohana example and the dependency versions listed. Start by comparing the Kohana implementation in Kohana.js with a native React Native TextInput, especially the working clearTextOnFocus behavior. Done means selectTextOnFocus selects the text when the Kohana input is focused on iOS without breaking Android behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, react-native
Área
mobile
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.