@asd20/ui 3.2.357 → 3.2.360

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.357",
8
+ "version": "3.2.360",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -33,7 +33,11 @@
33
33
  <slot name="nav" />
34
34
  </asd20-navbar>
35
35
 
36
- <asd20-action-menu v-if="mq === 'lg' || mq === 'xl'" :items="actionItems" />
36
+ <!-- <asd20-action-menu
37
+ class="fullscreen-actions"
38
+ v-show="mq === 'lg' || mq === 'xl'"
39
+ :items="actionItems"
40
+ /> -->
37
41
 
38
42
  <transition name="slide">
39
43
  <asd20-site-menu
@@ -46,11 +50,13 @@
46
50
  </transition>
47
51
  <transition name="slide">
48
52
  <asd20-action-menu
49
- v-if="mq === 'sm' || mq === 'md'"
50
- v-show="menuOpen"
53
+ v-show="
54
+ (menuOpen && (mq === 'sm' || mq === 'md') && isLoaded) ||
55
+ ((mq === 'lg' || mq === 'xl') && isLoaded)
56
+ "
51
57
  :items="actionItems"
52
- :open="menuOpen"
53
- @click.native="$emit('update:menuOpen', false)"
58
+ :active="menuOpen"
59
+ @update:active="$emit('update:menuOpen', $event)"
54
60
  />
55
61
  </transition>
56
62
  <transition name="slide">
@@ -95,6 +101,7 @@ export default {
95
101
  data: () => ({
96
102
  keyboardTriggeredLastAction: false,
97
103
  desktop: false,
104
+ isLoaded: false,
98
105
  }),
99
106
  watch: {
100
107
  menuOpen: function(val) {
@@ -113,6 +120,7 @@ export default {
113
120
  },
114
121
  mounted() {
115
122
  this.desktop = window.innerWidth >= 1024
123
+ this.isLoaded = true
116
124
  },
117
125
  methods: {
118
126
  onKeyboardToggleEvent(event) {