From 9ca8e82245a652c3903993a1f6980966a0d402fe Mon Sep 17 00:00:00 2001 From: hc-github-team-secure-vault-core <82990506+hc-github-team-secure-vault-core@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:27:58 -0400 Subject: [PATCH] backport of commit 3159aa26be41f9b9a5581ed9b00bc6dd564fa8f1 (#21902) Co-authored-by: Angel Garbarino --- ui/lib/core/addon/components/navigate-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/lib/core/addon/components/navigate-input.js b/ui/lib/core/addon/components/navigate-input.js index 955b34ed6..3e5d5aa76 100644 --- a/ui/lib/core/addon/components/navigate-input.js +++ b/ui/lib/core/addon/components/navigate-input.js @@ -205,7 +205,7 @@ export default class NavigateInput extends Component { later( this, function () { - document.getElementById(this.inputId).focus(); + document.getElementById(this.inputId)?.focus(); }, 400 );