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

iPhone 5 iframe is not resizing correctly and I'm not able to scroll down #30

Open
tfn220189 opened this issue Sep 10, 2015 · 10 comments
Open

Comments

@tfn220189
Copy link

img_1706
Please try to do this with your iPhone
1- go here http://www.lineonline.it/idropulitrice-lavor-raptor-21.html
2- Navigate to "Accessori Opzionali" tab
3- Click on one of the products

You will see that the page is not resized and you can not scroll down.

@cbopp-art
Copy link
Owner

@tfn220189 But this is is related to how your website responsiveness within the iframe.

@tfn220189
Copy link
Author

Hello!
First of all, thank you for this great plugin!
Everything is working well on Android Devices and Chrome (even simulating iPhones), the site is responsive from 320 - 1200px.
This only happens with iPhone.

@cbopp-art
Copy link
Owner

@tfn220189
You have set height: 100%; for your <html> tag, so it uses just the max available height for your page, in our case now the height of the iframe. Did you tried without this style property for your website called within iframe?

@cbopp-art
Copy link
Owner

Does it work now? I would like to close this issue then.
Thanks!

@tfn220189
Copy link
Author

No,

  • Now you can scroll down the page
    -The pag now loads zoomed (not realy a nice experience)
    -The width of the page is still not the correct one. (It opens a 1200px iframe instead of the responsive version)

@cbopp-art
Copy link
Owner

I'm sorry, but the problem you actually have doesn't seems to be related to the lightcase plugin itself, but rather to how your target website does fit into.

Did you already tried to set <meta name="viewport" content="width=device-width, initial-scale=1"> into the head part of your iFrame target website?

@tfn220189
Copy link
Author

As you can see:

is already printed in the head tag of the html

@ale75VI
Copy link

ale75VI commented Aug 14, 2016

I Had the same problem http://www.zappingstore.it/avvolgicavo-metallico-50-mt-3x15-4-prese-universali.html
solved by the template update

I hope can be useful

@cbopp-art
Copy link
Owner

@tfn220189 Can we close this one, or is it still a problem? May you would like to test with a newer version of lightcase?

@gouken
Copy link

gouken commented Sep 23, 2017

Hi,

i have o problem with menu mobile...with an android phone no problem, but with iPhone the menu voice "abbigliamento personalizzato" is not totally visible.

If you go to and https://www.professionalwear.it then open the menu.

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

4 participants