Patch #23883

iOS 10 ignore disabled Zoom

Added by Felix Gliesche 9 months ago. Updated 9 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI - Responsive
Target version:3.2.4

Description

With r14819 we disabled zoom on mobile devices. This has stopped working for iOS devices running iOS 10 as maximum-scale=1 is being ignored (see also here: https://medium.com/@johan_ronsse/re-apple-disabling-maximum-scale-behavior-on-responsive-websites-in-ios10-17bc7b0f27c0#.rkul46vzf)

Adding user-scalable=no to the viewport meta tag achieves our wanted behaviour also on iOS 10 and therefore fixes this issue. Attached you will find the according patch.

0001-Set-user-scalable-no-in-viewport-meta-tag.patch Magnifier (987 Bytes) Felix Gliesche, 2016-09-21 18:07

Associated revisions

Revision 15849
Added by Jean-Philippe Lang 9 months ago

Set user-scalable=no in viewport meta tag (#23883).

Patch by Felix Gliesche.

History

#1 Updated by Toshi MARUYAMA 9 months ago

  • Target version set to 3.2.4

#2 Updated by Jean-Philippe Lang 9 months ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang

Committed, thanks.

#3 Updated by Jean-Philippe Lang 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF