We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7da91 commit 5406103Copy full SHA for 5406103
Resources/Private/Build/JavaScript/FormValidation.js
@@ -128,8 +128,8 @@ class Form {
128
const fieldsWithError = this.#form.querySelectorAll('.powermail_field_error');
129
fieldsWithError.forEach((field) => {
130
if (Utility.isElementVisible(field)) {
131
- field.scrollIntoView({behavior:'smooth', block:'center'});
132
field.focus({preventScroll:true});
+ field.scrollIntoView({behavior:'smooth', block:'center'});
133
throw 'StopException';
134
}
135
});
0 commit comments