fix: Prevent scroll when focusing
This commit is contained in:
@@ -43,7 +43,9 @@ const BoardMembershipsStep = React.memo(
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
searchField.current.focus();
|
||||
searchField.current.focus({
|
||||
preventScroll: true,
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user