NativeScript / NativeScript/plugins

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

Offen
#535 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
TypeScript
Sterne
206
Forks
123
Ø Merge
2 T. 1 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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 😅

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es werden keine Quelldateien, Tests oder Einstiegspunkte genannt. Beginne damit, beide Verhaltensweisen unter Android mit Angular nachzustellen: ein mehrzeiliges TextView, das von der Toolbar verdeckt wird, und ein TextView in einer untergeordneten Komponente; abgeschlossen ist es, wenn der Autoscroll weiterhin korrekt funktioniert und die übergeordnete Toolbar das untergeordnete TextView erkennt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, angular, typescript
Bereich
mobile-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.