From 43b9dedeea3e9d7a41d604df36d4aa0a108b748b Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 23 Mar 2016 00:52:20 +0000 Subject: [PATCH] Customize: Prevent preview `iframe` from showing until fully loaded. Fixes issue where the Customizer preview window can appear to momentarily bounce to the top when being refreshed. Regression from [36532]. See #31195. Fixes #36276. git-svn-id: https://develop.svn.wordpress.org/trunk@37060 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/customize-controls.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 1d69609d58..36e512aa01 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -613,6 +613,9 @@ p.customize-section-description { height: 100%; position: absolute; } +#customize-preview iframe + iframe { + visibility: hidden; +} .wp-full-overlay-sidebar { background: #eee;