Repository navigation
Commit 5672463
committed
fix(composer): prevent Aa toggle clipping during layout animation
Remove overflow-hidden from the toolbar's layout-animated container.
The overflow clip (added in 50f951c to fix exit ghosting) was hiding
the Aa toggle during intermediate layout frames — when popLayout pops
the exiting group out of flow the container briefly shrinks, and
overflow-hidden clips the layoutId-animated toggle mid-reposition.
Also add layout="position" to the Aa wrapper so Framer Motion only
animates its position, not size, avoiding measurement conflicts with
the simultaneously-resizing parent.
Exit animations (opacity → 0) still look correct without the clip
since the fading elements are the intended visual.1 parent 1ba0dd2 commit 5672463
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
69 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
| |||
0 commit comments