Readd element ID after component mount.
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e9b5805e6c
commit
18fdefee0b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -20,7 +20,11 @@
|
|||
-
|
||||
-->
|
||||
<template>
|
||||
<div v-click-outside="clickOutsideConfig" :class="{ 'header-menu--opened': opened }" class="header-menu">
|
||||
<div
|
||||
:id="id"
|
||||
v-click-outside="clickOutsideConfig"
|
||||
:class="{ 'header-menu--opened': opened }"
|
||||
class="header-menu">
|
||||
<a class="header-menu__trigger"
|
||||
href="#"
|
||||
:aria-controls="`header-menu-${id}`"
|
||||
|
|
Loading…
Reference in New Issue