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