From 70f9f2a3214edba5b181492b3187863691a37e63 Mon Sep 17 00:00:00 2001 From: Niclas Edenvin Date: Fri, 9 May 2025 09:44:57 +0000 Subject: [PATCH] Merged in fix/SW-2664-enter-details-ios (pull request #2025) fix(SW-2664): remove ontouch callback that causes bugs * fix(SW-2664): remove ontouch callback that causes bugs This was causing touch related bugs on iOS on the enter details page. Approved-by: Arvid Norlin --- .../Form/Input/AriaInputWithLabel/index.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/scandic-web/components/TempDesignSystem/Form/Input/AriaInputWithLabel/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/Input/AriaInputWithLabel/index.tsx index 2e980044c..b597e211e 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/Input/AriaInputWithLabel/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/Input/AriaInputWithLabel/index.tsx @@ -30,16 +30,7 @@ const AriaInputWithLabel = forwardRef(function AriaInputWithLabelComponent( useImperativeHandle(forwardedRef, () => ref.current as HTMLInputElement) return ( - { - if (ref.current) { - ref.current.focus() - } - }} - > +