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.

Built from https://develop.svn.wordpress.org/trunk@37060


git-svn-id: http://core.svn.wordpress.org/trunk@37027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-03-23 00:53:28 +00:00
parent 6c81a0cbf6
commit 41bbbfa5e7
5 changed files with 9 additions and 3 deletions

View File

@ -613,6 +613,9 @@ p.customize-section-description {
height: 100%;
position: absolute;
}
#customize-preview iframe + iframe {
visibility: hidden;
}
.wp-full-overlay-sidebar {
background: #eee;

File diff suppressed because one or more lines are too long

View File

@ -613,6 +613,9 @@ p.customize-section-description {
height: 100%;
position: absolute;
}
#customize-preview iframe + iframe {
visibility: hidden;
}
.wp-full-overlay-sidebar {
background: #eee;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta4-37059';
$wp_version = '4.5-beta4-37060';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.