Skip to content

Commit eb2b30b

Browse files
authored
ENGCOM-4703: Previous scrolling to invalid form element is not being canceled on h… #22117
2 parents 7c59519 + 139e246 commit eb2b30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@
19581958
}
19591959

19601960
if (firstActive.length) {
1961-
$('html, body').animate({
1961+
$('html, body').stop().animate({
19621962
scrollTop: firstActive.offset().top
19631963
});
19641964
firstActive.focus();

0 commit comments

Comments
 (0)