iOS: scroll down --until stops before the end on SwiftUI List (0 passes) and ScrollView
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 70/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- ios, swift, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5.3k
- Forks
- 377
- Ø Merge
- 14 Std. 24 Min.
- Gemergte PRs (30 T.)
- 675
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus callstack/agent-device
-
iOS alert wait: the last poll can get ~30 ms and turns "no alert" into a failed readEvtl. vergeben @pcbeingused333 hat das vor 7 Tagen übernommen. Offenbug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
callstack/agent-device#4018 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
callstack/agent-device#1869 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
callstack/agent-device#4322 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug ready-for-agent
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
callstack/agent-device#4321 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
callstack/agent-device#4318 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in callstack/agent-device
Ähnliche Issues
-
area:cards enhancement ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
fil-donadoni/tolaria#8883 ·
Maintainer antworten meist innerhalb von 1 Tag
-
xsd:integer cast from a string rejects negative numbers, a leading + and surrounding whitespaceOffenbug 🐛
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
comunica/comunica#1960 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Waiting for: Product Owner
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
getsentry/sentry-javascript#26203 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
bytedance/flowgram.ai#1235 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
devswha/herdr-web-ui#3325 ·