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