[wp-trac] [WordPress Trac] #20805: Theme Customizer: Preview should be scrollable on iPad and Kindle Fire

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 2 01:25:31 UTC 2012


#20805: Theme Customizer: Preview should be scrollable on iPad and Kindle Fire
---------------------------------------------------+------------------
 Reporter:  koopersmith                            |       Owner:
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  3.4
Component:  Appearance                             |     Version:  3.4
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch needs-refresh needs-testing  |
---------------------------------------------------+------------------

Comment (by azaozz):

 20805.patch adds class "mobile" to the main frame's body. When mobile:

 - set the widths 25% controls, 75% preview iframe to make the layout
 responsive,
 - make #customize-controls position:fixed,
 - tweak #customize-preview to work with the changed structural css

 Still needs a bit of JS to set the preview iframe height to the iframe's
 body scrollHeight. This needs to happen after each load of the document in
 the iframe. Would need to push a "DOM ready" or "load" event to the
 iframe's parent, preferably "load" as all images in the preview will have
 dimensions then.

 Perhaps consider using the 25% / 75% "liquid" layout in all cases, not
 just for mobile.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20805#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list