New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This issue appears to have been fixed in iOS 6! #16

Open
ericf opened this Issue Jun 18, 2012 · 11 comments

Comments

Projects
None yet
9 participants
@ericf

ericf commented Jun 18, 2012

Looks like Apple has fixed this issue in Mobile Safari in iOS 6! \o/

The README could be updated to reflect that, along with possibly not applying this hack when iOS 6 is detected.

@mhulse

This comment has been minimized.

Show comment
Hide comment
@mhulse

mhulse Nov 9, 2012

Just out of curiosity, what's your meta viewport tag look like?

So you're saying this:

<meta name="viewport" content="width=device-width, initial-scale=1">

... works in the latest iOS? That's good news. Do you happen to know of any blog posts that talk about this fix?

I'll have to test... It would be nice to have the README make note of this.

mhulse commented Nov 9, 2012

Just out of curiosity, what's your meta viewport tag look like?

So you're saying this:

<meta name="viewport" content="width=device-width, initial-scale=1">

... works in the latest iOS? That's good news. Do you happen to know of any blog posts that talk about this fix?

I'll have to test... It would be nice to have the README make note of this.

@mhulse

This comment has been minimized.

Show comment
Hide comment
@mhulse

mhulse Nov 13, 2012

Just tested in iOS6, and it does appear to be fixed. That's cool! I'm kinda thinking that I'll just let older iOS versions spaz out for the sake of having one less JS file to manage/load.

Not that I don't appreciate this code... It saved my layouts for those older IOSes. 👍

Anyone else out there deciding to let the older IOS versions do their thing?

mhulse commented Nov 13, 2012

Just tested in iOS6, and it does appear to be fixed. That's cool! I'm kinda thinking that I'll just let older iOS versions spaz out for the sake of having one less JS file to manage/load.

Not that I don't appreciate this code... It saved my layouts for those older IOSes. 👍

Anyone else out there deciding to let the older IOS versions do their thing?

@kkifa

This comment has been minimized.

Show comment
Hide comment
@kkifa

kkifa Dec 20, 2012

The issue does not appear to be fixed in iOS 6 for me.
Including this javascript did not fix the orientation bug either.

kkifa commented Dec 20, 2012

The issue does not appear to be fixed in iOS 6 for me.
Including this javascript did not fix the orientation bug either.

@scottjehl

This comment has been minimized.

Show comment
Hide comment
@scottjehl

scottjehl Dec 20, 2012

Owner

The code is written to only apply to iOS5 and older, so you can choose to include it or don't - either way, iOS6 won't be affected, as it's finally fixed :)

On Nov 13, 2012, at 5:14 PM, Micky Hulse wrote:

Just tested in iOS6, and it does appear to be fixed. That's cool! I'm kinda thinking that I'll just let older iOS versions spaz out for the sake of having one less JS file to manage/load.

Not that I don't appreciate this code... It saved my layouts for those older IOSes.

Anyone else out there deciding to let the older IOS versions do their thing?


Reply to this email directly or view it on GitHub.

Owner

scottjehl commented Dec 20, 2012

The code is written to only apply to iOS5 and older, so you can choose to include it or don't - either way, iOS6 won't be affected, as it's finally fixed :)

On Nov 13, 2012, at 5:14 PM, Micky Hulse wrote:

Just tested in iOS6, and it does appear to be fixed. That's cool! I'm kinda thinking that I'll just let older iOS versions spaz out for the sake of having one less JS file to manage/load.

Not that I don't appreciate this code... It saved my layouts for those older IOSes.

Anyone else out there deciding to let the older IOS versions do their thing?


Reply to this email directly or view it on GitHub.

@mhulse

This comment has been minimized.

Show comment
Hide comment
@mhulse

mhulse Dec 20, 2012

Anyone have a link to official docs that say it's been fixed? I'd like to spread the word, but I can't find any official documentation.

mhulse commented Dec 20, 2012

Anyone have a link to official docs that say it's been fixed? I'd like to spread the word, but I can't find any official documentation.

@since1976

This comment has been minimized.

Show comment
Hide comment
@since1976

since1976 Jan 23, 2013

Is it really fixed? I just visited your test page on my iPhone running iOS6 and it is still happening.

since1976 commented Jan 23, 2013

Is it really fixed? I just visited your test page on my iPhone running iOS6 and it is still happening.

@mhulse

This comment has been minimized.

Show comment
Hide comment
@mhulse

mhulse Jan 23, 2013

I have not been able to find any official Apple docs that say it's been fixed. I'd love to see something official (or, even semi-official).

For those wanting to test for themselves, here's a quick link to the demo page:

qr code

A quick test on my iPhone4 with iOS6 and it works for me (no bugs).

mhulse commented Jan 23, 2013

I have not been able to find any official Apple docs that say it's been fixed. I'd love to see something official (or, even semi-official).

For those wanting to test for themselves, here's a quick link to the demo page:

qr code

A quick test on my iPhone4 with iOS6 and it works for me (no bugs).

@Evanion

This comment has been minimized.

Show comment
Hide comment
@Evanion

Evanion Jan 30, 2013

Well, it works on my iPhone 4S with IOS 6.
But if the user have scaled in portrait mode ... ever so slightly when switching to landscape ... the previous behaviour occurs, and the page zooms in a lot more then relative to the portrait mode.

Evanion commented Jan 30, 2013

Well, it works on my iPhone 4S with IOS 6.
But if the user have scaled in portrait mode ... ever so slightly when switching to landscape ... the previous behaviour occurs, and the page zooms in a lot more then relative to the portrait mode.

@castorda

This comment has been minimized.

Show comment
Hide comment
@castorda

castorda Jul 7, 2013

This script does work in iOS5 for me, but not for iOS6. Anyone know why this could be happening? This is what my viewport looks like:

castorda commented Jul 7, 2013

This script does work in iOS5 for me, but not for iOS6. Anyone know why this could be happening? This is what my viewport looks like:

@jalcide

This comment has been minimized.

Show comment
Hide comment
@jalcide

jalcide Aug 6, 2013

I don't think it's been 100% fixed in iOS6. It seems to still happen, often, on the second rotation. Seemingly, even without being "ever so slightly" scaled.

Here's at least one other who has noticed this, too: http://stackoverflow.com/questions/17678962/mobile-safari-ios6-does-not-change-viewport-width-on-the-second-rotation-wh/18091016#18091016

Any other confirmations on this?

jalcide commented Aug 6, 2013

I don't think it's been 100% fixed in iOS6. It seems to still happen, often, on the second rotation. Seemingly, even without being "ever so slightly" scaled.

Here's at least one other who has noticed this, too: http://stackoverflow.com/questions/17678962/mobile-safari-ios6-does-not-change-viewport-width-on-the-second-rotation-wh/18091016#18091016

Any other confirmations on this?

@amarchen

This comment has been minimized.

Show comment
Hide comment
@amarchen

amarchen Aug 13, 2013

Yep, happens on the second rotation to me too (well, I am the one who posted this question to stackoverflow - http://stackoverflow.com/questions/17678962/mobile-safari-ios6-does-not-change-viewport-width-on-the-second-rotation-wh/18091016#18091016 )

amarchen commented Aug 13, 2013

Yep, happens on the second rotation to me too (well, I am the one who posted this question to stackoverflow - http://stackoverflow.com/questions/17678962/mobile-safari-ios6-does-not-change-viewport-width-on-the-second-rotation-wh/18091016#18091016 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment