Skip to content

Commit

Permalink
NextValue Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonL9vov committed Apr 18, 2024
1 parent fe1bb6e commit c0e3bcb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue3-hive-ui-kit",
"private": false,
"version": "0.7.20",
"version": "0.7.21",
"type": "module",
"description": "UI kit for Vue 3",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/common/hooks/use-list-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const useListMethods = ({
break;
}
} else {
if (node.next !== null) {
if (node.next !== null && filteredOptions.value.has(node.next)) {
updateActiveValue(node.next);
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/common/hooks/use-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export const useSearch = (
}
filteredOptions.value.clear();

console.log(filteredOptions.value, modelValue);

if (typeof searchString === 'string') {
searchString = searchString.toLowerCase();
}
Expand Down
12 changes: 6 additions & 6 deletions src/examples/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ const a = 1;
</script>

<template>
<hive-splitter style="min-height: 100vh">
<!-- <hive-splitter style="min-height: 100vh">
<hive-pane id="light">
<all-widgets />
</hive-pane>
<!-- <hive-pane id="dark">
<hive-pane id="dark">
<div hive-theme="dark" style="background: black; color: white">
<all-widgets dark />
</div>
</hive-pane> -->
</hive-splitter>
<!-- <div>
</hive-pane>
</hive-splitter> -->
<div>
<filter-new />
</div> -->
</div>
</template>

<style lang="scss"></style>
1 change: 1 addition & 0 deletions src/examples/components/all-widgets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ setTimeout(() => {
{ name: 'десять сказок о', value: 'десять_сказок_о' },
{ name: 'мини-конкурс', value: 'миниконкурс' },
{ name: 'Игра в одиноком октябре', value: 'Игра_в_одиноком_октябре' },
{ name: 'проза', value: 'сказка' },
];
multiselect.value = ['городской_бестиарий', 'мнимая_проза', 'ночной_эфир'];
Expand Down

0 comments on commit c0e3bcb

Please sign in to comment.