Make WordPress Core

Changeset 53267


Ignore:
Timestamp:
04/26/2022 06:52:30 AM (23 months ago)
Author:
audrasjb
Message:

Widgets: Fix Classic Widgets screen toggle response on small screens.

This changeset updates the toogle logic to fix Widget's responsive behavior on Classic Widgets screen.

Props inc2734, kmix39, dlh, desrosj, costdev, Boniu91.
Fixes #48896.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/customize/widgets.js

    r50547 r53267  
    14581458            };
    14591459
    1460             if ( expanded ) {
     1460            if ( $toggleBtn.attr( 'aria-expanded' ) === 'false' ) {
    14611461                if ( api.section.has( self.section() ) ) {
    14621462                    api.section( self.section() ).expand( {
Note: See TracChangeset for help on using the changeset viewer.