@asd20/ui 3.2.510 → 3.2.511

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.510",
8
+ "version": "3.2.511",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  id="main-menu-list"
4
- ref="container"
4
+ ref="menuContainer"
5
5
  class="asd20-site-menu"
6
6
  role="menu"
7
7
  @click="onBackgroundClick"
@@ -176,7 +176,7 @@ export default {
176
176
  }, timeout)
177
177
  },
178
178
  onBackgroundClick(e) {
179
- if (e.target === this.$refs.container) {
179
+ if (e.target === this.$refs.menuContainer) {
180
180
  this.deactivateSection()
181
181
  this.$nextTick(() => {
182
182
  this.dismiss()
@@ -1,9 +1,5 @@
1
1
  <template>
2
- <nav
3
- id="site-navigation"
4
- aria-label="Sitewide Navigation"
5
- :class="{ active: menuOpen || searchOpen }"
6
- >
2
+ <nav id="site-navigation" :class="{ active: menuOpen || searchOpen }">
7
3
  <asd20-navbar
8
4
  :menu-active="menuOpen"
9
5
  @update:menuActive="$emit('update:menuOpen', $event)"
@@ -129,7 +125,7 @@ export default {
129
125
  watch: {
130
126
  menuOpen: function(val) {
131
127
  this.$nextTick(() => {
132
- if (val && this.keyboardTriggeredLastAction) {
128
+ if (val) {
133
129
  this.$refs.siteMenu.$el.focus()
134
130
  }
135
131
  })