mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-12 09:12:50 +03:00
fix(app): hide the closed side region over the side terminal (#54052)
This commit is contained in:
committed by
GitHub
Unverified
parent
f43903d849
commit
f5309982d0
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user