Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(editor): a tall group in the build dialog scrolls instead of being clipped

esengine035f2f7232d5
diff --git a/desktop/src/theme/menus.css b/desktop/src/theme/menus.css
index 43f97aa26..a55d5d725 100644
--- a/desktop/src/theme/menus.css
+++ b/desktop/src/theme/menus.css
@@ -295,6 +295,11 @@
padding-left: 14px;
overflow-y: auto;
}
+/* A group states its own height; the column scrolls. Without this the default
+ flex-shrink squeezes a tall group instead, and `.build__group`'s overflow
+ clip then removes the squeezed-out rows outright — visible as a section that
+ simply ends mid-row, with nothing to scroll to. */
+.build__content > * { flex-shrink: 0; }
.build__head { display: flex; flex-direction: column; gap: 3px; }
.build__head-title { font-size: var(--fs-md); font-weight: 600; color: var(--text); }
.build__label { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-mute); }