Skip to content

Commit 303c46b

Browse files
committed
trying to fix resume jump to end of page
1 parent 2a7f96a commit 303c46b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nextstep-frontend/src/pages/Resume.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const Resume: React.FC = () => {
196196

197197
useEffect(() => {
198198
if (feedbackEndRef.current) {
199-
feedbackEndRef.current.scrollIntoView({ behavior: 'smooth' });
199+
feedbackEndRef.current.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
200200
}
201201
}, [feedback]);
202202

0 commit comments

Comments
 (0)