From b39a6bcc97cfd7672da295dbf19c2d6494430339 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 10 Dec 2025 18:17:39 +0200 Subject: [PATCH] feat(widgets): prevent clicks in toggle from dismissing menu --- apps/client/src/widgets/react/FormList.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/react/FormList.tsx b/apps/client/src/widgets/react/FormList.tsx index 3f8147241..95a105262 100644 --- a/apps/client/src/widgets/react/FormList.tsx +++ b/apps/client/src/widgets/react/FormList.tsx @@ -139,8 +139,12 @@ export function FormListToggleableItem({ title, currentValue, onChange, ...props onChange(newValue: boolean): void; }) { return ( - - + e.stopPropagation()}> + ); }