NativeScript / NativeScript/plugins

[nativescript-ui-listview] Only first item is displayed on iOS

オープン
#352 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

説明

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:
image
image
image

However, running it on Android has no such issue.

1483201666363003_ pic

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

公式の @nativescript/template-master-detail-ng テンプレートで問題を再現し、ns debug ios を実行して、初期レンダリングと向きの変更時の動作を比較します。nativescript-ui-listview の iOS パスを調査します。初回起動時に向きを変更しなくてもすべてのリスト項目が正しくレンダリングされ、Android には影響がない状態になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, ios, typescript
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。