From f705d88177911ebbb400a5d3b5120ae3f7cbff87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rge=20N=C3=A6ss?= Date: Thu, 26 Sep 2024 18:25:28 +0200 Subject: [PATCH] fix(form): reduce layout shifts when rendering reference inputs --- .../core/form/inputs/ReferenceInput/AutocompleteContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/core/form/inputs/ReferenceInput/AutocompleteContainer.tsx b/packages/sanity/src/core/form/inputs/ReferenceInput/AutocompleteContainer.tsx index cdfe5cb77570..db07f54eae27 100644 --- a/packages/sanity/src/core/form/inputs/ReferenceInput/AutocompleteContainer.tsx +++ b/packages/sanity/src/core/form/inputs/ReferenceInput/AutocompleteContainer.tsx @@ -35,7 +35,7 @@ export const AutocompleteContainer = forwardRef(function AutocompleteContainer( const inputWrapperRect = useElementRect(rootElement) return ( - + {props.children} )