NativeScript / NativeScript/plugins

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

Aperta
#535 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
206
Fork
123
Merge medio
2g 1h
PR unite (30g)
1

Descrizione

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 😅

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non vengono menzionati file sorgente, test o punti di ingresso. Inizia riproducendo entrambi i comportamenti su Android con Angular: un TextView multilinea coperto dalla barra degli strumenti e un TextView in un componente figlio; è completato quando l'autoscroll rimane corretto e la barra degli strumenti genitore rileva il TextView figlio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, angular, typescript
Ambito
mobile-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.