iOS 26: `_UIFloatingBarContainerView` marks sheet content (and sometimes whole screens) as covered
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- swift, typescript
Línea de trabajo
Start with the coverage pass that marks toolbar nodes as overlays, and the full-window exemption it applies, then check how snapshot -i filters window nodes before that exemption runs. Reproduce with a SwiftUI sheet containing a List of Buttons on an iOS 26 simulator, comparing snapshot --raw --json with press. Done when rows in a sheet are pressable by ref, label and identifier, and snapshot -i agrees with what press decides.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
- agent-device 0.21.19
- iOS 27.0 simulator (iPhone, 402×874 pt); the floating bar container exists since iOS 26
- SwiftUI app with a
NavigationStackand a.sheetwith.presentationDetents([.medium, .large])
Summary
On iOS 26, UIKit adds a floating bar container (_UIFloatingBarContainerView) to every navigation context. XCUITest reports it with type Toolbar and label Toolbar. agent-device's coverage pass treats every toolbar node as an overlay. The full-window exemption only applies when the bar's rect equals the nearest window rect.
So:
- In a sheet the container has the sheet's frame (for example
x8 y415 w386 h451), not the window frame. It comes later in tree order than the sheet rows, so every row is markedcovered.press @ref,press 'label="…"', andpress 'id="…"'all fail withcovered by another visible element. The rows are hittable in the app; a coordinate tap at their centre works. - On a full-screen view the container has the window frame and is exempt in the full snapshot. In
snapshot -ithe window node is filtered out, so the exemption cannot apply, and every node prints[covered]even though presses work.
The container has no interactive children of its own in these cases.
Steps to reproduce
- Present a SwiftUI sheet containing a
ListofButtonrows on an iOS 26 simulator. agent-device snapshot -i→ all rows[covered].agent-device press 'id="<row identifier>"'→covered by another visible element.agent-device snapshot --raw --jsonshows aToolbarnode (_UIFloatingBarContainerView) after the rows, with the sheet's rect.agent-device press <centre x> <centre y>→ the row activates.
Expected
Rows inside the sheet are pressable by ref, label, and identifier.
Suggested fix
Any one of:
- Do not treat
_UIFloatingBarContainerView(or atoolbarwith no interactive descendants) as an overlay. - Exempt a bar whose rect equals its nearest sheet/scene container rect, not only the window.
- Apply the full-window exemption before
-ifiltering, sosnapshot -imatches whatpressdecides.
Related (separate issue?)
A SwiftUI Menu prints as [popupbutton] with an unlabeled child [button] that nearly fills it. press on the popup button fails with has no parent-owned touch point outside its interactive descendants, because no point is ≥12 pt from the child. Treating a child whose rect is within a few points of the parent as the same target (or pressing the child automatically when it is the only competitor) would make SwiftUI menus pressable by label or identifier.
- Lenguaje dominante
- TypeScript
- Estrellas
- 5k
- Forks
- 334
- Merge medio
- 13 h 19 min
- PR fusionados (30 d)
- 630
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstack/agent-device
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
callstack/agent-device#3627 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
callstack/agent-device#3353 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
callstack/agent-device#1869 ·
Los mantenedores suelen responder en 1 día
-
on-hold refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 40/100
callstack/agent-device#3607 ·
Los mantenedores suelen responder en 1 día
-
enhancement ready-for-agent
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
callstack/agent-device#3531 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstack/agent-device
Issues similares
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
vicharanashala/ajrasakha#1439 ·
Los mantenedores suelen responder en 1 día
-
Add: TV5Monde AsieAbiertoapproved check:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
codex-team/editor.js#3037 ·
-
complexity: trivial good first issue impact: low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
ueberdosis/tiptap#8522 ·
Los mantenedores suelen responder en 1 día
-
Bump anybuf version to ^1.0.0Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
wormhole-foundation/wormhole#5062 ·
Los mantenedores suelen responder en 1 día