Skip to content
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

Small issue when rotating screen on iPhone and iPad #4

Open
agentfooey opened this issue Feb 3, 2016 · 0 comments
Open

Small issue when rotating screen on iPhone and iPad #4

agentfooey opened this issue Feb 3, 2016 · 0 comments

Comments

@agentfooey
Copy link

Firstly, thank you for producing this script. It's the simplest and fastest I've tested out of about 6 so far.

The code works perfectly in a browser but doesn't react the same on a iPhone or iPad... here's what is a happening:

When loading the page on a phone in portrait I have 1 column (correct), when I rotate the phone to landscape I get 3 columns (correct)... but when I rotate back to portrait I get 2 columns instead of the original 1. if I reload the page it returns back to 1 (correct). The same is happening on the iPad too.

I've added some code to work out to the number of columns and width to fill the screen which is being reported correctly each time but the grid doesn't always reset to the values being supplied.

Any ideas?

Thanks
Matt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant