vue3-extended-multiselect 1.8.5 → 1.8.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Patch notes
2
2
 
3
- Current `vue3-extended-multiselect` version: **1.8.5**
3
+ Current `vue3-extended-multiselect` version: **1.8.6**
4
4
 
5
5
  ***
6
6
 
@@ -324,4 +324,8 @@ Adding descriptive comments for some types in typings.
324
324
  ### 1.8.5 (2023-03-07)
325
325
 
326
326
  * Adding "resize-observer-polyfill" dev-dependency.
327
- * Fixing bug with options wrapper resize when "toggleAppearanceSide" prop is set to "atop".
327
+ * Fixing bug with options wrapper resize when "toggleAppearanceSide" prop is set to "atop".
328
+
329
+ ### 1.8.6 (2023-03-07)
330
+
331
+ * fixing bug with undefined "offsetHeight" variable.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vue3-extended-multiselect v1.8.5
1
+ # vue3-extended-multiselect v1.8.6
2
2
 
3
3
  ***
4
4
 
package/jest.config.js CHANGED
@@ -5,7 +5,7 @@ module.exports = {
5
5
  },
6
6
  expand: true,
7
7
  displayName: {
8
- name: "vue3-extended-multiselect 1.8.5",
8
+ name: "vue3-extended-multiselect 1.8.6",
9
9
  color: "bgGreen",
10
10
  },
11
11
  extraGlobals: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-extended-multiselect",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "Extended multiselect component for applications based on Vue 3 framework",
5
5
  "keywords": [
6
6
  "multiselect",
@@ -699,6 +699,8 @@ const styles = computed(() => {
699
699
  */
700
700
  const calculateTopOffset = (afterLoading = false) => {
701
701
  nextTick(() => {
702
+ if (!optionsWrapper.value) return;
703
+
702
704
  const offsetHeight = optionsWrapper.value.offsetHeight;
703
705
  const scrollHeight = optionsWrapper.value.scrollHeight;
704
706
 
@@ -262,7 +262,7 @@ import ExtendedMultiselectToggle from "./ExtendedMultiselectToggle.vue";
262
262
 
263
263
  /**
264
264
  * @author Ridiger Daniil Dmitrievich, 2022
265
- * @version 1.8.5
265
+ * @version 1.8.6
266
266
  */
267
267
 
268
268
  const props = defineProps({