Fix focus fighting between BreadCrumb and Search
This commit is contained in:
parent
ffafbc87d0
commit
ba9c2671e5
|
@ -4,7 +4,7 @@
|
||||||
aria-label="Breadcrumb"
|
aria-label="Breadcrumb"
|
||||||
@keyup.left.stop="move(-1)"
|
@keyup.left.stop="move(-1)"
|
||||||
@keyup.right.stop="move(1)"
|
@keyup.right.stop="move(1)"
|
||||||
@focus="move(0)"
|
@keyup.enter="move(0)"
|
||||||
>
|
>
|
||||||
<a href="#/"
|
<a href="#/"
|
||||||
:ref="el => setLinkRef(0, el)"
|
:ref="el => setLinkRef(0, el)"
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
ref="search"
|
ref="search"
|
||||||
type="search"
|
type="search"
|
||||||
:value="query"
|
:value="query"
|
||||||
@blur="ev => { if (!query) closeSearch(ev) }"
|
|
||||||
@input="updateSearch"
|
@input="updateSearch"
|
||||||
placeholder="Search words"
|
placeholder="Search words"
|
||||||
class="margin-input"
|
class="margin-input"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user