[wp-trac] [WordPress Trac] #36018: Ensure autofocus for dynamically-created panels, sections, and controls
WordPress Trac
noreply at wordpress.org
Tue Mar 1 03:24:43 UTC 2016
#36018: Ensure autofocus for dynamically-created panels, sections, and controls
--------------------------+-----------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Customize | Version: 4.1
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------
At the moment, autofocus via URL params (#28650) only works for panels,
sections, and controls which are defined statically up-front. Any
constructs not created statically will be stripped from exporting to JS.
Additionally, from the JS side, if any of these constructs do not exist by
`ready`, they will also be ignored.
Autofocus should work for anything that gets created with JS.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36018>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list