Skip to content

Commit

Permalink
remove preventScroll
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Oct 22, 2024
1 parent 2e0a882 commit 342a6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RepeatableField/RepeatableFieldContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 342a6f4

Please sign in to comment.