Skip to content

Commit eb851d6

Browse files
authored
prevent config popover from closing on click (#135)
1 parent 4740aba commit eb851d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/app-config/user-config-form.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export const UserConfigForm: React.FC = () => {
150150
onCheckedChange={(checked) => {
151151
return field.onChange(Boolean(checked));
152152
}}
153+
onClick={(evt) => evt.stopPropagation()}
153154
/>
154155
</FormControl>
155156
<FormLabel className="font-normal flex">Enable</FormLabel>

0 commit comments

Comments
 (0)