mirror of
https://github.com/plankanban/planka.git
synced 2025-08-05 05:25:29 +02:00
fix: Prevent scroll when focusing
This commit is contained in:
parent
0ad9cffb08
commit
26f464eb25
10 changed files with 31 additions and 14 deletions
|
@ -43,7 +43,9 @@ const BoardMembershipsStep = React.memo(
|
|||
);
|
||||
|
||||
useEffect(() => {
|
||||
searchField.current.focus();
|
||||
searchField.current.focus({
|
||||
preventScroll: true,
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue