From a7a3d53dbd3e74ae04695f68e85ef3e8147e1d97 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Mar 2026 08:24:42 +0100 Subject: [PATCH] [WIP] Fix issue 2830 related to sidebar width slider (#2832) * Initial plan * fix: sidebar width slider not updating resume layout Co-authored-by: amruthpillai <1134738+amruthpillai@users.noreply.github.com> Agent-Logs-Url: https://github.com/amruthpillai/reactive-resume/sessions/55cb1943-2066-4871-8a12-0a0a4cb35fa6 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: amruthpillai <1134738+amruthpillai@users.noreply.github.com> --- .../$resumeId/-sidebar/right/sections/layout/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)(); + }} /> } />