From c2e153e8ed92a48458bb4b9dc85072e82d429894 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 30 Jun 2017 16:20:10 +0200 Subject: [PATCH] more fouc fixes --- customize.dist/template.js | 14 +++++++++++--- www/whiteboard/index.html | 3 +-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/customize.dist/template.js b/customize.dist/template.js index e26ef9c6d..ad00c5170 100644 --- a/customize.dist/template.js +++ b/customize.dist/template.js @@ -119,11 +119,19 @@ $(function () { if (isMainApp()) { if (typeof(Pages[pathname]) === 'function') { - var $flash = $('body, #iframe-container, #pad-iframe').removeClass('noscroll'); + var $flash = $('body, #iframe-container, #pad-iframe, textarea'); $flash.css({ - 'display': 'none' + display: 'none', + opacity: 0, + overflow: 'hidden', }); - var ready = function () { $flash.css('display', ''); }; + var ready = function () { + $flash.css({ + display: '', + opacity: '', + overflow: '', + }); + }; require([ 'less!/customize/src/less/loading.less' diff --git a/www/whiteboard/index.html b/www/whiteboard/index.html index dde6a61f2..a31384187 100644 --- a/www/whiteboard/index.html +++ b/www/whiteboard/index.html @@ -4,7 +4,6 @@ - - +