mirror of
https://github.com/plankanban/planka.git
synced 2025-12-21 01:11:26 +03:00
fix: Prevent scroll when focusing
This commit is contained in:
@@ -71,7 +71,9 @@ const UserPasswordEditStep = React.memo(
|
||||
}, [usePasswordConfirmation, onUpdate, data]);
|
||||
|
||||
useEffect(() => {
|
||||
passwordField.current.focus();
|
||||
passwordField.current.focus({
|
||||
preventScroll: true,
|
||||
});
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user