fix(app): hide the closed side region over the side terminal (#54052)

This commit is contained in:
Luke Parker
2026-10-09 12:51:35 +10:00
committed by GitHub
Unverified
parent f43903d849
commit f5309982d0
+3
View File
@@ -454,10 +454,13 @@ function SessionScreenContent(props: {
style={{ height: sideVisible() ? screen.side.region.height() : "100%" }}
>
<Show when={store.sideRegionPresent}>
{/* A closed region stays mounted at zero height while the side dock is open. Once its close
animation is over, hide it, or its frame's shadow draws a flat line over the dock's top edge. */}
<div
data-slot="session-side-region-presence"
data-opened={sideMotion().animateRegion ? sideMotion().region : undefined}
class="absolute inset-0"
classList={{ invisible: !screen.side.region.open() && !sideMotion().animateRegion }}
onAnimationEnd={(event) => {
if (event.currentTarget !== event.target) return