mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1586] [Issue]: connections sidebar squishes and lags during resize — framer-motion layout animations + transition-all #823
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#823
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1586
Originally assigned to: @Romuromylus on GitHub.
Summary
The connections sidebar behaves incorrectly during resize — content squishes, squashes, and the resize feels sluggish. No other right-side panel has this problem.
Expected behavior
Resize feels instant and smooth, content reflows cleanly like CharactersPanel or LorebooksPanel.
Actual behavior
Steps to reproduce
Environment
Additional context
Two root causes, both unique to ConnectionsPanel:
1. framer-motion
Reorderlayout animations (the squish)ConnectionsPanel is the only right-side panel using
Reorder.Group/Reorder.Item(for folder drag-to-reorder). These components track layout positions internally and fire animations on every layout change — including panel resize. Every pixel dragged triggers framer-motion measuring and re-animating all folder rows. No other panel usesReorder.2.
transition-allon multiple elements (the sluggishness)TTSConfigCardroot div:transition-allcauseswidthto animate on every resize pixelConnectionRowroot div: sametransition-all, one per connection, all firing simultaneouslyOther panels use
transition-colorsor targeted transitions only.✱Maybe Fixes that:**
TTSConfigCardline 676 +ConnectionRowline 98:transition-all→transition-colorsisResizingfrom AppShell to suppress animations during drag, or replaceReorder.Group/Reorder.Itemwithdnd-kitTemplate check
@Romuromylus commented on GitHub (May 30, 2026):
Fixed by #1639, merged into
refactor.