diff --git a/contentcuration/contentcuration/frontend/shared/views/FullscreenModal.vue b/contentcuration/contentcuration/frontend/shared/views/FullscreenModal.vue index 14a4e3ee91..2173e500d1 100644 --- a/contentcuration/contentcuration/frontend/shared/views/FullscreenModal.vue +++ b/contentcuration/contentcuration/frontend/shared/views/FullscreenModal.vue @@ -100,6 +100,9 @@ this.hideHTMLScroll(!!val); }, }, + beforeDestroy() { + this.hideHTMLScroll(false); // Ensure scroll is restored when the component is destroyed + }, mounted() { this.hideHTMLScroll(true); this.$refs.dialog.initDetach();