Monitor context menus shrink the Editor

Aperta
#744 6 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mxmou ci sta già lavorando.

Dal 4/11/2026.

  • #747 di @mxmou — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Start by reproducing the issue on the main site: display a variable monitor and open its context menu. Then trace the monitor and context-menu entry points in the editor to find what causes the editor height to change. Done means opening the menu no longer shrinks the editor.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Expected Behavior

The editor should probably stay the same height.

Actual Behavior

The editor shrinks (???)

Steps to Reproduce

  • Go to any project on the main site, or create a fresh one (quicker).
  • Display a variable monitor.
  • Context click (The one that brings up a menu, typically the right mouse button, or holding using a touch input) on the monitor.
  • And then, behold:
Image

Demonstration:

https://github.com/user-attachments/assets/ea593187-570e-402b-bb2e-af6d690bc35b

System Details

This has been tested on both Firefox and Chromium.
It happens to users of Microsoft Windows, ChromeOS, and Ubuntu-based and Arch Linux.

I run KDE neon (which is Ubuntu-based) and use Native Firefox and Flatpak Chromium.

  [Firefox Native] Mozilla/5.0 (X11; Linux x86_64; rv:157.0) Gecko/20100101 Firefox/157.0
[Chromium Flatpak] Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
 [ChromeOS Chrome] Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit 537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 

I have known about this bug since October 6th, when I posted about it in BaG. Additional screenshots can be found there.

Lingua principale
JavaScript
Stelle
310
Fork
299
Merge medio
19h 41m
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di scratchfoundation/scratch-editor

Tutte le issue di scratchfoundation/scratch-editor

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.