IGNITE-8518 Web Console: Fixed issue with auto focus.
diff --git a/frontend/app/components/form-field/showValidationError.directive.js b/frontend/app/components/form-field/showValidationError.directive.js
index 31a8f2d..7560b90 100644
--- a/frontend/app/components/form-field/showValidationError.directive.js
+++ b/frontend/app/components/form-field/showValidationError.directive.js
@@ -54,7 +54,7 @@
                         el[0].scrollIntoView();
 
                     if (!attr.bsSelect)
-                        $timeout(() => el[0].focus());
+                        $timeout(() => el[0].focus(), 100);
 
                     formFieldController && formFieldController.notifyAboutError();
                 });
diff --git a/frontend/app/components/page-queries/components/queries-notebook/controller.ts b/frontend/app/components/page-queries/components/queries-notebook/controller.ts
index 78274e6..d841cb5 100644
--- a/frontend/app/components/page-queries/components/queries-notebook/controller.ts
+++ b/frontend/app/components/page-queries/components/queries-notebook/controller.ts
@@ -1817,7 +1817,7 @@
         $scope.dblclickMetadata = function(paragraph, node) {
             paragraph.ace.insert(node.name);
 
-            setTimeout(() => paragraph.ace.focus(), 1);
+            setTimeout(() => paragraph.ace.focus(), 100);
         };
 
         $scope.importMetadata = function() {
diff --git a/frontend/app/directives/auto-focus.directive.js b/frontend/app/directives/auto-focus.directive.js
index 8d269ce..e67b50d 100644
--- a/frontend/app/directives/auto-focus.directive.js
+++ b/frontend/app/directives/auto-focus.directive.js
@@ -27,7 +27,7 @@
          * @param {JQLite} element
          */
         link(scope, element) {
-            $timeout(() => element[0].focus());
+            $timeout(() => element[0].focus(), 100);
         }
     };
 }