Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

[WIP] Fix issue 2830 related to sidebar width slider (#2832)

Copilota7a3d53dbd3e
diff --git a/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx b/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx
index c1f789855..a5c2725ea 100644
--- a/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx
+++ b/src/routes/builder/$resumeId/-sidebar/right/sections/layout/index.tsx
@@ -63,7 +63,10 @@ function LayoutSectionForm() {
max={50}
step={0.01}
value={[field.value]}
- onValueChange={(value) => field.onChange(Array.isArray(value) ? value[0] : value)}
+ onValueChange={(value) => {
+ field.onChange(Array.isArray(value) ? value[0] : value);
+ void form.handleSubmit(onSubmit)();
+ }}
/>
}
/>