Skip to content

Commit

Permalink
Fix dictionary not scrolling up after new search
Browse files Browse the repository at this point in the history
  • Loading branch information
kaubu committed Dec 17, 2023
1 parent fd95481 commit fe56ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/SearchResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ const instance = getCurrentInstance();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
watch(route, (_to, _from) => {
refreshSearch();
window.scrollTo(0, 0);
instance?.proxy?.$forceUpdate();
});
Expand Down
2 changes: 1 addition & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<p><sub>This project is still in progress, expect errors.</sub></p>

<p><sub>v1.6.2 (2023-12-17)</sub></p>
<p><sub>v1.6.3 (2023-12-17)</sub></p>
</center>
</template>

Expand Down

0 comments on commit fe56ffe

Please sign in to comment.