I have a page that isn't mobile optimized and so I have the width set to 1024px in the viewport meta. This works as expected in all browsers. However, the page zoom feature available in Safari is not working and the dimensions of the page remain the same. When I completely remove the viewport meta tag, the feature works. This is confusing as I assumed that not mentioning the viewport meta is the same as specifying width as 980px in the page.
Thanks for filing, can you please attach a test case or link to a page affected by this issue? Also, are you referring to the zoom buttons in the Page Formatting Menu or pinch to zoom?
<rdar://problem/70917038>
I'm referring to the zoom buttons in the Page Formatting Menu
Here are some test files viewport meta width is set to device-width - This works https://akashdsouza.github.io/test-meta-viewport/zoom-issue-device-width.html viewport meta width is not set - This works https://akashdsouza.github.io/test-meta-viewport/zoom-issue.html viewport meta width is set to 1024 - This does not work https://akashdsouza.github.io/test-meta-viewport/zoom-issue-meta-1024.html viewport meta width is set to 980 - This does not work https://akashdsouza.github.io/test-meta-viewport/zoom-issue-meta-980.html
Thanks Akash. I'm able to reproduce this on iOS 13.6.1 as well as the current iOS 14.2 beta with those examples.
Thanks for the quick update. Can you confirm whether the inconsistency is due to some misconfiguration/misunderstanding on my end with the viewport meta or if it's something related to how Safari handles viewport meta and page zoom?
(In reply to Akash D Souza from comment #6) > Thanks for the quick update. Can you confirm whether the inconsistency is > due to some misconfiguration/misunderstanding on my end with the viewport > meta or if it's something related to how Safari handles viewport meta and > page zoom? It's the latter.
Thanks again for the reply. Is this something that'll be fixed in the next or future versions or should we consider a different approach?
(In reply to Tim Horton from comment #7) > (In reply to Akash D Souza from comment #6) > > Thanks for the quick update. Can you confirm whether the inconsistency is > > due to some misconfiguration/misunderstanding on my end with the viewport > > meta or if it's something related to how Safari handles viewport meta and > > page zoom? > > It's the latter. Really sorry about the regular ping, but, can you please confirm if this will be fixed in an upcoming update or not?
Apple doesn’t comment on the timing of bug fixes/unreleased software. That said, this bug being open is a good indicator that it doesn’t currently have a fix, so I’d recommend finding a workaround if possible.