diff --git a/frontend/src/app/(portal)/admin/applications/[cycleId]/[role]/builder/components/LivePreview.tsx b/frontend/src/app/(portal)/admin/applications/[cycleId]/[role]/builder/components/LivePreview.tsx index 3b0985e..e779d46 100644 --- a/frontend/src/app/(portal)/admin/applications/[cycleId]/[role]/builder/components/LivePreview.tsx +++ b/frontend/src/app/(portal)/admin/applications/[cycleId]/[role]/builder/components/LivePreview.tsx @@ -119,6 +119,7 @@ function PreviewField({ question }: { question: QuestionCardQuestion }) { max={10} placeholder="1-10" className="text-text-default focus:border-brand-blue focus:ring-brand-blue w-24 rounded-md border border-gray-300 px-4 py-2.5 text-base outline-none focus:ring-1" + onWheel={(e) => e.currentTarget.blur()} /> )} diff --git a/frontend/src/components/ui/datetime-picker.tsx b/frontend/src/components/ui/datetime-picker.tsx index 2292919..1a27319 100644 --- a/frontend/src/components/ui/datetime-picker.tsx +++ b/frontend/src/components/ui/datetime-picker.tsx @@ -231,6 +231,7 @@ function DateTimePicker({ handleHourChange(parsed) } }} + onWheel={(e) => e.currentTarget.blur()} className="focus:border-primary focus:ring-primary/20 h-8 w-10 rounded-md border border-gray-300 text-center text-sm font-medium focus:ring-2 focus:outline-none" /> : @@ -255,6 +256,7 @@ function DateTimePicker({ handleMinutesChange(String(parsed).padStart(2, '0')) } }} + onWheel={(e) => e.currentTarget.blur()} className="focus:border-primary focus:ring-primary/20 h-8 w-10 rounded-md border border-gray-300 text-center text-sm font-medium focus:ring-2 focus:outline-none" />