diff --git a/app/javascript/vue/navigation/navigator.vue b/app/javascript/vue/navigation/navigator.vue index 35481d3b5..62fcfca92 100644 --- a/app/javascript/vue/navigation/navigator.vue +++ b/app/javascript/vue/navigation/navigator.vue @@ -7,7 +7,7 @@ - + { + this.$refs.scrollContainer.$el.scrollTop = this.navigatorYScroll; this.changePage(); if ($(`[navigator-item-id="${this.currentItemId}"]`).length === 0) { this.loadTree(); @@ -93,7 +94,10 @@ export default { this.menuItems = data.items; }); }) - } + }, + onScroll({target}) { + this.navigatorYScroll = target.scrollTop; + }, }, }