[wp-trac] [WordPress Trac] #33220: Customizer: layout issues with autofocus'd sections on small screens
WordPress Trac
noreply at wordpress.org
Wed Aug 5 23:29:43 UTC 2015
#33220: Customizer: layout issues with autofocus'd sections on small screens
--------------------------+---------------------------
Reporter: mattwiebe | Owner: valendesigns
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
--------------------------+---------------------------
Changes (by valendesigns):
* keywords: has-patch => needs-patch
Comment:
I can verify it fixes autoload, but the issue when you navigate into the
Customizer panels and sections before the frame is loaded still exists.
I tried creating a patch but I can't seem to figure it out. The issue is
that everything works when you are navigating around but the second the
frame loads the open section jumps down 42px.
This part of the issue existed before the patch. Basically, it feels like
there are two events that set the height, one on click and one after the
frame loads. Unfortunately, the math is wrong on the second event because
of a missing section in the scroll height or something to that effect. I'm
having a hard time pinpointing exactly where the bug is coming from.
I can look at this again tonight when I wake up but I have to get some
sleep. If someone wants to jump in feel free or leave feedback and I'll
take another legit stab at it in 10 hours or so with a fresh set of eyes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33220#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list