From 342a6f4bb798176f926446c71737e3e1cfcb2278 Mon Sep 17 00:00:00 2001 From: vashjs Date: Tue, 22 Oct 2024 21:56:35 +0200 Subject: [PATCH] remove preventScroll --- lib/RepeatableField/RepeatableFieldContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RepeatableField/RepeatableFieldContent.js b/lib/RepeatableField/RepeatableFieldContent.js index 515770b1b..854cdb341 100644 --- a/lib/RepeatableField/RepeatableFieldContent.js +++ b/lib/RepeatableField/RepeatableFieldContent.js @@ -11,7 +11,7 @@ export const RepeatableFieldContent = ({ children, isFocused }) => { if (node && isFocused) { const elem = getFirstFocusable(node, true, true); - elem?.focus({ preventScroll: true }); + elem?.focus(); } }, [isFocused])