[wp-trac] [WordPress Trac] #33567: Panel margin-top glitches when widget areas added
WordPress Trac
noreply at wordpress.org
Tue Oct 6 20:23:09 UTC 2015
#33567: Panel margin-top glitches when widget areas added
-------------------------------+------------------------------
Reporter: edge22 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.3
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by edge22):
Looked into this more, and have attached a super simple test plugin.
http://demo.generatepress.com/hosted/test.zip
I've figured out this issue has to do with the active_callback parameter.
To see for yourself:
1. Install and activate the attached test plugin
2. Go to "Customize" and open the "General Settings" panel.
3. Now navigate to another page - the panel will disappear because the
active_callback is set to "is_front_page".
4. Now navigate back to the front page, and open the panel - all of the
contents have shifted up.
Another view, with more shift:
1. Open the "General Settings" panel.
2. Go back to all of the settings.
3. Navigate to another page.
4. Navigate back to the front page.
5. Open the "General Settings" panel - all contents have shifted up twice
as much as the previous method.
This is happening in all modern browsers, using the TwentyFifteen theme.
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33567#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list