From 2ffacaf97e1c5aa513ac58461bb1fae43e6d7f64 Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 15 Mar 2024 16:30:07 +0800 Subject: [PATCH] * zin: fix cannot scroll page after close modal. --- www/js/zui3/zin.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/js/zui3/zin.js b/www/js/zui3/zin.js index e13dba73fd..8cd7965a03 100644 --- a/www/js/zui3/zin.js +++ b/www/js/zui3/zin.js @@ -382,7 +382,11 @@ renderPartial(item, options); if(item.name === 'html' || item.name === 'body') hasUpdatePage = true; }); - if(hasUpdatePage) updatePageLayout(); + if(hasUpdatePage) + { + updatePageLayout(); + $('html').enableScroll(); + } if(!options.partial) { const newState = $.apps.updateApp(currentCode, currentAppUrl, document.title);