[wp-trac] [WordPress Trac] #30634: Media: Image cropping on mobile devices does not work (was: Customizer: Image cropping on mobile devices does not work)

WordPress Trac noreply at wordpress.org
Sat Mar 18 05:13:11 UTC 2017


#30634: Media: Image cropping on mobile devices does not work
----------------------------+--------------------
 Reporter:  rachelsquirrel  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.7.4
Component:  Media           |     Version:  4.0.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+--------------------
Changes (by westonruter):

 * component:  Customize => Media


Comment:

 I get mixed results when I test this issue on 4.7.3 in Chrome running in
 Android 7.1.1 on a Nexus 6P. I can always resize the crop vertically and
 change the placement of the crop box vertically. What I'm not able to do
 is consistently resize horizontally. It seems like there may be a bug in
 the imgAreaSelect jQuery plugin core is using. From a quick look at the
 source, it seems that maybe the `doResize()` function isn't working as
 expected on mobile.

 I'm changing this to the Media component because the cropper code is part
 of that component. The customizer is just re-using the underlying Media
 code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30634#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list