[nativescript-ui-listview] Only first item is displayed on iOS
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- angular, ios, typescript
- 领域
- mobile
调研方向
使用官方的 @nativescript/template-master-detail-ng 模板重现该问题,然后运行 ns debug ios,并将初始渲染与方向更改时的行为进行比较。调查 nativescript-ui-listview 的 iOS 路径;完成的标准是所有列表项在首次启动时都能正确渲染,而不需要更改方向,同时 Android 不受影响。
由索引模型根据 Issue 内容生成。
描述
Reproduce:
Create a demo project using the official template
ns create my-master-detail-ng-demo --template @nativescript/template-master-detail-ng
Do not need to change anything, leave the project as it is.
Run it on iOS ns debug ios
Observe that only one car is displayed but the list seems to have the correct height and is able to scroll. However, when the device orientation changes, the list renders correctly and when the device changes back to its original orientation, the list still renders correctly.
The screen recording is too big to upload here, please refer to this video:
https://1drv.ms/v/s!AsQrVqY9DKK0g48gJ1chzNSsnrCvIQ?e=H0BF4e
Screenshots:



However, running it on Android has no such issue.

- 主要语言
- TypeScript
- 星标
- 206
- 派生
- 123
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NativeScript/plugins 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
NativeScript/plugins#680 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
NativeScript/plugins#671 ·
-
难度 1/5 1 小时以内 新手友好度 72/100
NativeScript/plugins#640 ·
-
难度 4/5 3-5 天 新手友好度 45/100
NativeScript/plugins#668 ·
-
难度 4/5 3-5 天 新手友好度 45/100
NativeScript/plugins#665 · 1 条评论 ·
查看 NativeScript/plugins 的全部 Issue
相似的 Issue
-
check:passed streams:add
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
usability
难度 2/5 1-3 小时 新手友好度 68/100
inmanta/web-console#7367 ·
-
Area/ICP Type/Bug
难度 2/5 1-3 小时 新手友好度 84/100
wso2/product-integrator#2514 ·