diff --git a/api/js/etemplate/etemplate2.ts b/api/js/etemplate/etemplate2.ts index c49fd85bb6..5389268286 100644 --- a/api/js/etemplate/etemplate2.ts +++ b/api/js/etemplate/etemplate2.ts @@ -1099,6 +1099,11 @@ export class etemplate2 { (tmpWidget).activateTab(invalid_widgets[0]); } + // scroll the widget into view + if(typeof widget.scrollIntoView === 'function') + { + widget.scrollIntoView(); + } } else {