`@effect/ui-devtools` (Effect-TS/ui): the inspector can't be clicked while a kit dialog is open, because the frame joins the top layer only while Time travel is paused
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Start with packages/ui-devtools/src/internal/layer.ts and trace how raise is called when Time travel pauses the page. Reproduce the issue with a kit Dialog open in Chromium, then investigate how top-layer changes can trigger raise on the live page. Done when the inspector remains clickable while dialogs or popovers are open; an open linked pull request already addresses this issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
While a kit Dialog or Drawer is open in the live page, the @effect/ui-devtools inspector can't be clicked. Neither the launcher nor an open panel takes the click: the dialog's backdrop gets it.
Why
The inspector is an iframe with a high z-index. A kit dialog is a <dialog> in the top layer, which paints above any z-index. packages/ui-devtools/src/internal/layer.ts already has raise, which puts the frame in the top layer after the page's dialogs, but it is called only when Time travel pauses the page (around line 293, after root.pause). In the live page the frame stays under every open dialog.
Repro
- Add
DevTools.layerto an app with a kitDialog. - Open the dialog.
- Click the inspector launcher. Nothing opens, and the click goes to the backdrop (which may close the dialog).
- Close the dialog. The launcher works.
Seen at Effect UI 4ac356c in Chromium.
Suggested fix
Call raise(frame, true) in the live page too, whenever a dialog or popover enters the top layer (a toggle listener on the document in capture mode, or a MutationObserver for open/popover changes), so the frame always joins the top layer last.
- Lingua principale
- TypeScript
- Stelle
- 16.7k
- Fork
- 808
- Merge medio
- 21h 22m
- PR unite (30g)
- 486
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Effect-TS/effect
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
`@effect/ui-native` (Effect-TS/ui): `kit/VirtualList` `list` part widens `R` to `any`, poisoning enclosing componentsForse già presa @effect-bot l’ha presa oggi. Aperta
Effect-TS/effect#11097 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
`@effect/ui-native` (Effect-TS/ui): Controlled `input` rejected-edit restore never calls `host.commit()`Forse già presa @effect-bot l’ha presa oggi. Aperta
Effect-TS/effect#11096 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Effect-TS/effect
Issue simili
-
check:failed streams:edit
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
iptv-org/iptv#60585 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Critical path skips a child span that ends exactly when the next one startsForse già presa @Piyush4801 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jaegertracing/jaeger-ui#4865 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
anthropics/claude-code#112972 ·
-
Type: Improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno