Commit 9492a93
committed
fix: replace Radix ScrollArea with native overflow-y-auto for reliable scroll
Radix ScrollArea's Viewport uses h-full inside overflow-hidden Root,
which fights with flex-1 in a flex column container. The list never
scrolled because the Viewport expanded to fit all content.
Native div with overflow-y-auto + flex-1 + min-h-0 works correctly.
The browser handles scroll natively without Radix's abstraction layer.1 parent 6e6f3bb commit 9492a93
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
| 131 | + | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
158 | | - | |
| 157 | + | |
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
| |||
0 commit comments