callstack / callstack/react-native-paper

TextInput in react-native-paper can't move cursor point once it is focused

Abierto
#4,658 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug TextInput
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

### Current behaviour
Now I am Trying to build react native mobile app using react native version 0.72.4
{
dispatch(actions.setUserLoginEmail(text));
setShowError(false);
if (text === "") {
setShowError(false);
} else {
debouncedCheckEmailValidity(text);
}
}}
error={showError && !validateEmailForTextInput(email)}
outlineStyle={{
borderRadius: 10,
backgroundColor: "#F5F8F6",
}}
activeOutlineColor="#000000"
theme={{
colors: {
background: '#FFFFFF',
primary: '#000000',
text: '#000000',
},
}}
/>
When I try this code and try to focus nth letter place then it is not working.

![Image](https://github.com/user-attachments/assets/00b55cc9-e263-4e07-b38f-16d4eb5895ae)

For example I can't set cursor position next to "i" which is 3rd place in that "twinklex" string.
If keyboard is hiden then can click anywhere but once keyboard is shown again then can't again too.
This happens only on android

### Your Environment

| software | version
| --------------------- | -------
| ios | 18
| android | 34
| react-native | 0.72.4
| react-native-paper | 5.13.1
| node | v20.9.0
| npm or yarn | 10.1.0

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el ejemplo de TextInput proporcionado con react-native 0.72.4 y react-native-paper 5.13.1 en Android 34. Investiga la posición del cursor mientras el teclado está visible y, a continuación, verifica que al tocar dentro del texto el cursor se coloque correctamente sin afectar al comportamiento de entrada informado.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.