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