Skip to content

Commit

Permalink
v0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
danyaridiger committed Apr 4, 2024
1 parent e26d3c3 commit bac8e7a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Patch notes

Current vue-extended-multiselect version: **0.5.2**
Current vue-extended-multiselect version: **0.5.3**

***

Expand Down Expand Up @@ -111,4 +111,8 @@ Current vue-extended-multiselect version: **0.5.2**

### 0.5.2 (2024-04-04)

* Fixing bug with co-appearance of search field and placeholder.
* Fixing bug with co-appearance of search field and placeholder.

### 0.5.3 (2024-04-04)

* Fixing bug with incorrect options list height calculation.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# vue-extended-multiselect v0.5.2
# vue-extended-multiselect v0.5.3

***

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-extended-multiselect",
"version": "0.5.2",
"version": "0.5.3 ",
"description": "Extended multiselect component for applications based on Vue 2 framework",
"keywords": [
"multiselect",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExtendedMultuselectOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export default Vue.extend({
fieldWasShown: false,
atopWithScroll: null,
enterIndex: null,
heightFromMounted: null,
heightFromMounted: {},
underWithScroll: null,
};
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/VueExtendedMultiselect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ import store from "../vuex/store";
* @mixes ToggleMixin
* @mixes CancelMixin
* @mixes PreselectedOptionsMixin
* @version 0.5.2
* @version 0.5.3
*/
export default Vue.extend({
name: "VueExtendedMultiselect",
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export default {
if (!window || !this.$refs.extendedMultiselectOptions) return "under";

const innerHeight = window.innerHeight;
const offsetHeight = this.$refs.extendedMultiselectOptions.offsetHeight
const offsetHeight = this.$refs.extendedMultiselectOptions.$el.offsetHeight
+ this.$refs.extendedMultiselect.offsetHeight;
const offsetTop = this.$refs.extendedMultiselect.getBoundingClientRect().y;
const difference = innerHeight - offsetTop;
Expand Down

0 comments on commit bac8e7a

Please sign in to comment.