NativeScript / NativeScript/plugins

[@nativescript/keyboard-toolbar] Weird behavior on Toolbar

Abierto
#535 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
TypeScript
Estrellas
206
Forks
123
Merge medio
2 d 1 h
PR fusionados (30 d)
1

Descripción

I have successfully implemented the KeyboardToolbar on an Android device using Angular. I have experienced a couple of issues:

  • I am experiencing problems with autoscroll when the KeyboardToolbar is covering the text input. In my case, initially, the toolbar is already covering part of the text input and, once it gets longer than one line, the UI starts getting messed up. This behavior can be seen in the attached video, but is currently making it unusable for our use case. I believe these could be related to the Future Work section in Eddy's old plugin.

https://github.com/NativeScript/plugins/assets/15091668/06b68aaa-127b-469a-b1f9-dc07ec201324

  • I am also unable to use this plugin with Angular when the TextView is in a child component. The KeyboardToolbar on the parent component is not able to detect the id of the TextView. I believe this should work, any ideas on how to would be nice, since I guess this design pattern is pretty common

I have tried checking the plugin's code but I'm not sure exactly how it works. so I don't think I can PR myself 😅

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

No se mencionan archivos de origen, pruebas ni puntos de entrada. Empieza reproduciendo ambos comportamientos en Android con Angular: un TextView multilinea cubierto por la barra de herramientas y un TextView en un componente hijo; se considera terminado cuando el autoscroll sigue siendo correcto y la barra de herramientas padre detecta el TextView hijo.

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

Evaluación

Stack tecnológico
android, angular, typescript
Área
mobile-dev
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.