iOS: scroll down --until stops before the end on SwiftUI List (0 passes) and ScrollView

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
ios, swift, typescript
領域
mobile, testing

調査の方向性

Start by tracing the iOS scroll down --until path through scroll_until_edge_reached and how it reads accessibility snapshots for scrollable content. Use the linked reproduction app and its list.ad, sheet.ad, and scrollview.ad replays to compare the three cases. Done means the selector becomes visible before stopping, or scrolling stops only when content truly stops moving.

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

説明

On iOS, scroll down --until '<selector>' gives up on SwiftUI lists that plain scroll down scrolls through fine.

Repro: https://github.com/antFrancon/agent-device-scroll-until-repro (./repro.sh [version]). It's a one-file SwiftUI app showing the same 64 rows three ways, with one .ad per way, each running scroll down --until 'id="row-60"'.

Replay Rows in Result
list.ad a List, pushed fails after 0 passes: "scroll down reached the end of the scrollable content … without id="row-60" becoming visible"
sheet.ad the same List in a .sheet fails after 0 passes, same message
scrollview.ad a ScrollView + LazyVStack, pushed fails after 3 passes, same message, with rows 53–63 still below

Plain scroll down reaches row-60 in all three: 7 flings for the list, 8 for the sheet, 4 for the scroll view.

Likely cause for the List: it reaches the snapshot as [collection] with no [scrollable], so --until sees no scrollable content and never swipes (scroll_until_edge_reached, passes: 0, nothing dispatched). The ScrollView is [scroll-area] [scrollable], but end detection still trips one pass early.

Expected: --until keeps scrolling until the selector is visible or the content truly stops moving.

Seen on: agent-device 0.21.28, 0.21.36 and 0.21.37-nightly.20261103.128 (identical results) · iOS 26.5 simulator, iPhone 16 · Xcode 27.2 (27B52) · macOS 27.0 · Node 22.22.1

主要言語
TypeScript
スター
5.3k
フォーク
377
平均マージ
13時間 49分
マージ済み PR(30日)
650

環境構築

はじめの一歩

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

callstack/agent-device のほかの issue

callstack/agent-device の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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