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:
parent
6c81a0cbf6
commit
41bbbfa5e7
|
@ -613,6 +613,9 @@ p.customize-section-description {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
#customize-preview iframe + iframe {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-full-overlay-sidebar {
|
.wp-full-overlay-sidebar {
|
||||||
background: #eee;
|
background: #eee;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -613,6 +613,9 @@ p.customize-section-description {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
#customize-preview iframe + iframe {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-full-overlay-sidebar {
|
.wp-full-overlay-sidebar {
|
||||||
background: #eee;
|
background: #eee;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue