From e70ae1e092a457c2797f6908dfd6227e6f2297d7 Mon Sep 17 00:00:00 2001 From: tienifr Date: Wed, 10 Jul 2024 18:49:43 +0700 Subject: [PATCH] add explanative comments --- src/components/Form/SafariFormWrapper.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Form/SafariFormWrapper.tsx b/src/components/Form/SafariFormWrapper.tsx index 4062205fa1ea..8ad411e547be 100644 --- a/src/components/Form/SafariFormWrapper.tsx +++ b/src/components/Form/SafariFormWrapper.tsx @@ -4,6 +4,9 @@ import type ChildrenProps from '@src/types/utils/ChildrenProps'; type SafariFormWrapperProps = ChildrenProps; +/** + * If we used any without
wrapper, Safari 11+ would show the auto-fill suggestion popup. + */ function SafariFormWrapper({children}: SafariFormWrapperProps) { if (isSafari()) { return {children}
;