adminforth 2.4.0-next.55 → 2.4.0-next.57

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.
@@ -110,7 +110,7 @@
110
110
  </template>
111
111
 
112
112
  <script setup lang="ts">
113
- import { ref, computed, onMounted, onUnmounted, watch, type Ref } from 'vue';
113
+ import { ref, computed, onMounted, onUnmounted, watch, nextTick, type Ref } from 'vue';
114
114
  import { IconCaretDownSolid } from '@iconify-prerendered/vue-flowbite';
115
115
  import { useElementSize } from '@vueuse/core'
116
116
 
@@ -175,7 +175,7 @@ function updateFromProps() {
175
175
  }
176
176
  }
177
177
 
178
- function inputClick() {
178
+ async function inputClick() {
179
179
  if (props.readonly) return;
180
180
  // Toggle local dropdown
181
181
  showDropdown.value = !showDropdown.value;
@@ -183,6 +183,9 @@ function inputClick() {
183
183
  if (!showDropdown.value && !search.value) {
184
184
  search.value = '';
185
185
  }
186
+
187
+ await nextTick();
188
+ handleScroll();
186
189
  }
187
190
 
188
191
  watch(
@@ -118,7 +118,7 @@ export const useCoreStore = defineStore('core', () => {
118
118
  item.badge = badge;
119
119
  }
120
120
  });
121
-
121
+ websocket.unsubscribeAll();
122
122
  subscribeToMenuBadges();
123
123
 
124
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.55",
3
+ "version": "2.4.0-next.57",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",