Component-selection dropdown/popover doesn't lock background scroll while open
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Start by locating the component-selection dropdown/listbox used for inserting blocks in Keystatic and the related @keystar/ui popover behavior; the issue also mentions UserInterface in @keystatic/core 0.6.9 config.d.ts as a configuration boundary. Reproduce the behavior with the page scrolled, then verify that wheel input scrolls the open dropdown when needed or leaves the background stationary.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Installed: @keystatic/[email protected], @keystar/[email protected].
Repro steps
- Open an entry with a content/blocks field that supports inserting components (an "insert component" or "add block" control that opens a dropdown/listbox of component types).
- Scroll the underlying page/form so the insertion point is no longer at the very top, then open that dropdown.
- Scroll the mouse wheel or trackpad while the dropdown is open.
Expected: scrolling while the dropdown is open either scrolls the dropdown's own content (if it's long) or does nothing to the background; the underlying page does not scroll behind the open dropdown.
Actual: the underlying page scrolls behind the open dropdown instead of the dropdown owning the scroll, so the dropdown does not lock background scroll while open. Observed during a live editing session while inserting a component into a content field.
Note: this was observed in a live editing session, not reproduced in a separate local setup.
Why this looks like a genuine gap rather than app misconfiguration: the dropdown/listbox is Keystatic's own @keystar/ui component, not something the consuming app supplies. The only UI customization surface in Keystatic's config (UserInterface in @keystatic/core 0.6.9 config.d.ts) is brand and navigation; there is no CSS/theme hook and no way to reach the popover internals from config. Scroll-lock is JS behavior, not stylesheet-overridable, so a consuming app can't add it without depending on uncontracted internal DOM.
Context: multi-locale marketing site; editors regularly insert components (e.g. embeds) into long-form content and lose their place when the page scrolls unexpectedly behind the open menu.
Related but distinct: #1376 (closed) reported the component menu failing to open when the page is scrolled down. Here the menu opens fine but doesn't lock/own scroll while open.
- Lingua principale
- TypeScript
- Stelle
- 2.4k
- Fork
- 164
- Merge medio
- 5h 46m
- PR unite (30g)
- 3
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 Thinkmill/keystatic
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Typo/Grammar on Website HomepageForse già presa @Punith1117 l’ha presa 127 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Thinkmill/keystatic
Issue simili
-
DB-plane provider_chat_options.* is accepted by config set but never merged into the loaded configAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Bump Firebase JS SDK (12.19.0 → 13.0.0)Forse già presa @SelaseKay l’ha presa oggi. ApertaNeeds Attention type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
invertase/react-native-firebase#9364 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
clouflaure de fernandoApertaenhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
cloudflare/mcp#271 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 4 giorni
-
[fullsend] E2E: rhdh-version-override — run-e2e.sh overrides RHDH_VERSION to non-existent 2.1Apertae2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
redhat-developer/rhdh-plugin-export-overlays#4261 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno