Skip to content

Commit 075f62a

Browse files
Merge remote-tracking branch 'remotes/github/MAGETWO-96434' into EPAM-PR-27
2 parents 7c788b1 + a1d5cc5 commit 075f62a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/web/mage/validation.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,6 +1950,9 @@
19501950
}
19511951

19521952
if (firstActive.length) {
1953+
$('html, body').animate({
1954+
scrollTop: firstActive.offset().top
1955+
});
19531956
firstActive.focus();
19541957
}
19551958
}

0 commit comments

Comments
 (0)