Fixes issue - 20109 (#20111)

* Fixes #20109

* add @hasA11yRefocus false

* add changelog

* Update ui/packages/consul-ui/app/components/hashicorp-consul/index.hbs

Co-authored-by: Tauhid Anjum <tauhidanjum@gmail.com>

---------

Co-authored-by: Tauhid Anjum <tauhidanjum@gmail.com>
This commit is contained in:
Ashesh Vidyut 2024-01-09 22:17:48 +05:30 committed by GitHub
parent c6c2d8bf82
commit 69f775da9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

3
.changelog/20111.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
UI: fix autofocus on search box when page refreshes on typing in it due to url change.
```

View File

@ -73,7 +73,7 @@
</:notifications>
<:side-nav>
<Hds::SideNav @isResponsive={{false}} class='consul-side-nav' data-test-navigation>
<Hds::SideNav @hasA11yRefocus={{false}} @isResponsive={{false}} class='consul-side-nav' data-test-navigation>
<:header>
<Hds::SideNav::Header>
<:logo>

View File

@ -32,7 +32,7 @@
</:notifications>
<:side-nav>
<Hds::SideNav @isResponsive={{true}} class='consul-side-nav'>
<Hds::SideNav @hasA11yRefocus={{false}} @isResponsive={{true}} class='consul-side-nav'>
<:header>
<Hds::SideNav::Header>
<:logo>