Commit ee83e7c
fix: make dropdown menu content scroll when taller than viewport
DropdownMenuContent (and SubContent) had overflow-hidden with no
max-height, so a dropdown with more items than fit the viewport —
e.g. the project selector in the New Plan dialog with many projects —
clipped the lower items with no way to reach them. Cap the height to
Radix's --radix-dropdown-menu-content-available-height and switch to
overflow-y-auto so the list scrolls.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1792883 commit ee83e7c
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- src/frontend/src/components/ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments