Fix navbar dropdown not closing when clicking outside
This commit is contained in:
parent
ae1bcf4746
commit
e62f277ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ function onSelectRepo(id: string) {
|
||||||
<!-- Close dropdown when clicking outside it -->
|
<!-- Close dropdown when clicking outside it -->
|
||||||
<div
|
<div
|
||||||
v-if="open"
|
v-if="open"
|
||||||
class="fixed left-0 top-0 h-screen w-screen"
|
class="fixed left-0 top-0 z-10 h-screen w-screen"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue