@firestitch/form 12.4.8 → 12.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
this._message.error(message, { mode: i2.MessageMode.Toast });
|
|
685
685
|
var el = this._element.nativeElement.querySelector('.ng-invalid');
|
|
686
686
|
if (el) {
|
|
687
|
-
el.scrollIntoView({ behavior: 'smooth', block: '
|
|
687
|
+
el.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
|
|
688
688
|
}
|
|
689
689
|
return rxjs.throwError('Form validation error');
|
|
690
690
|
},
|