Skip to content

Commit 96626fa

Browse files
authored
Merge pull request #9446 from gitbutlerapp/fix-ui-animation-min-width-in-stack
fix: Animation on rename
2 parents 6069f5c + ade7c7a commit 96626fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/desktop/src/components/MultiStackView.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,11 @@
146146
{#each mutableStacks as stack, i (stack.id)}
147147
{@const stackState = uiState.stack(stack.id)}
148148
{@const selection = stackState.selection}
149+
{@const laneWraperMinWidth = laneWidths[i] ?? 0}
149150
<div
150151
class="reorderable-stack"
151152
role="presentation"
153+
style:min-width="{laneWraperMinWidth}px"
152154
animate:flip={{ duration: 150 }}
153155
onmousedown={onReorderMouseDown}
154156
ondragstart={(e) => {

0 commit comments

Comments
 (0)