diff --git a/assets/theme-editor.js b/assets/theme-editor.js index 62f96c073e8..d2f08bdc4c0 100644 --- a/assets/theme-editor.js +++ b/assets/theme-editor.js @@ -39,6 +39,7 @@ document.addEventListener('shopify:section:load', () => { document.addEventListener('shopify:section:unload', (event) => { document.querySelectorAll(`[data-section="${event.detail.sectionId}"]`).forEach((element) => { element.remove(); + document.body.classList.remove('overflow-hidden'); }); });