diff --git src/wp-admin/css/customize-controls.css src/wp-admin/css/customize-controls.css
index 7824c82..b672be3 100644
|
|
h3.customize-section-title { |
428 | 428 | .in-sub-panel #customize-theme-controls > ul > .accordion-section { |
429 | 429 | left: -300px; |
430 | 430 | width: 300px; |
| 431 | height: 0; |
431 | 432 | } |
432 | 433 | |
433 | 434 | .in-sub-panel #customize-theme-controls .accordion-section.current-panel { |
434 | 435 | width: 100%; |
| 436 | height: auto; |
435 | 437 | } |
436 | 438 | |
437 | 439 | #customize-theme-controls .control-section.current-panel { |
… |
… |
h3.customize-section-title { |
459 | 461 | overflow-y: hidden; |
460 | 462 | } |
461 | 463 | |
| 464 | .wp-full-overlay.section-open #customize-theme-controls > ul > .accordion-section { |
| 465 | height: 0; |
| 466 | } |
| 467 | |
| 468 | .wp-full-overlay.section-open #customize-theme-controls > ul > .accordion-section.open { |
| 469 | height: auto; |
| 470 | } |
| 471 | |
462 | 472 | .wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open { |
463 | 473 | visibility: visible; |
464 | 474 | } |
diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index a22aa76..7421e29 100644
|
|
|
1367 | 1367 | accordionSection.addClass( 'current-panel' ); |
1368 | 1368 | overlay.addClass( 'in-sub-panel' ); |
1369 | 1369 | container.scrollTop( 0 ); |
1370 | | if ( args.completeCallback ) { |
1371 | | args.completeCallback(); |
1372 | | } |
| 1370 | topPanel.attr( 'tabindex', '-1' ); |
| 1371 | backBtn.attr( 'tabindex', '0' ); |
| 1372 | panel._recalculateTopMargin(); |
| 1373 | _.delay( function() { |
| 1374 | backBtn.focus(); |
| 1375 | if ( args.completeCallback ) { |
| 1376 | args.completeCallback(); |
| 1377 | } |
| 1378 | }, 180 ); |
1373 | 1379 | } ); |
1374 | | topPanel.attr( 'tabindex', '-1' ); |
1375 | | backBtn.attr( 'tabindex', '0' ); |
1376 | | backBtn.focus(); |
1377 | | panel._recalculateTopMargin(); |
1378 | 1380 | } else { |
1379 | 1381 | siblings.removeClass( 'open' ); |
1380 | 1382 | accordionSection.removeClass( 'current-panel' ); |