Commit 5481602
authored
fix(ui): smooth border-radius transition on collapsible close (#16431)
## Summary
When collapsing an array/blocks row, the bottom border-radius on the
header would snap to rounded immediately while the content was still
animating closed—creating a jarring visual disconnect between the header
and the disappearing content below it.
This adds a CSS keyframe animation that waits for the content to finish
collapsing (300ms), then smoothly eases the corners to rounded over
150ms. The `animation-fill-mode: both` ensures the corners stay flat
during the delay period. Opening remains instant so the header connects
seamlessly with the expanding content.
### Before
https://github.com/user-attachments/assets/b0ac0132-3883-4818-9179-d2d9a748216c
### After
https://github.com/user-attachments/assets/37b3ff54-cc31-455a-8fa5-114dd1d08bb01 parent db1b2a8 commit 5481602
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
112 | 128 | | |
113 | 129 | | |
114 | 130 | | |
| |||
0 commit comments