Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the permissions box lists every permission instead of a narrow scroll area

The checkbox list was capped at 12em and scrolled, and the box shrinks the
list to its widest label, so the scrollbar sat in the middle of the popover
with the lower permissions hidden. The permissions are a short fixed list:
MultiselectFilterOptions takes scrollable={false} and the permissions box
uses it. Filter lists that can grow long keep the scroll area.
This commit is contained in:
iris 2026-11-06 00:22:14 +01:00 • committed by mara
commit 33c230665b

View file

@ -224,6 +224,7 @@ export function AgentPermissions({
filter={{ values: ticked, negate: false }}
onToggle={(v) => void toggle(v)}
disabled={busy}
scrollable={false}
/>
</div>
) : (