NativeScript / NativeScript/plugins
[@nativescript/keyboard-toolbar] Weird behavior on Toolbar
未關閉
還沒有人認領這個 Issue。
- 主要語言
- TypeScript
- 星號
- 206
- 分支
- 123
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 1
描述
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 😅
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
未提及來源檔案、測試或進入點。先在 Android 上使用 Angular 重現這兩種行為:一個被工具列覆蓋的多行 TextView,以及子元件中的一個 TextView;當自動捲動仍然正確,且父工具列能偵測到子 TextView 時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, angular, typescript
- 領域
- mobile-dev
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100