From 97b00fc32e77505500ca3c8217ee377ee62c00a1 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 14 Feb 2021 19:36:19 +0800 Subject: [PATCH] fix content height is incorrect sometimes --- src/scripts/core/__fix.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scripts/core/__fix.js b/src/scripts/core/__fix.js index 06a9c86..5a7468c 100644 --- a/src/scripts/core/__fix.js +++ b/src/scripts/core/__fix.js @@ -11,6 +11,10 @@ $(window, '.wrapper').resize(function () { fixContentWrapperHeight(); + + setInterval(function(){ + fixContentWrapperHeight(); + }, 1); }); fixContentWrapperHeight();