mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 09:15:01 +03:00
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