Skip to content

Commit 4f38e40

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-94200' into 2.2-develop-pr68
2 parents 8f7ddd1 + fd5366b commit 4f38e40

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
@@ -1944,6 +1944,9 @@
19441944
}
19451945

19461946
if (firstActive.length) {
1947+
$('html, body').animate({
1948+
scrollTop: firstActive.offset().top
1949+
});
19471950
firstActive.focus();
19481951
}
19491952
}

0 commit comments

Comments
 (0)