Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

HTML size in popup not displaying correctly in IOS app tester

I am using this code to size HTML within popup to the screen height.

var documentHeight = jQuery(document).height()-200;

Image

It works on Android
Image

but not iOS
Image

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

HTML size in popup not displaying correctly in IOS app tester

Hi,

Thanks but the issue is not getting the dimensions as they are coming back correctly from jQuery(document).height() for each device. However the iframe size is behaving different when applying to the height property.

Thanks,
Aeneas

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

HTML size in popup not displaying correctly in IOS app tester

Hi Aeneas,

Sorry did not see that code in screen shot..(it's better to provide it with text).

Iframe height attribute should be passed without "px" postfix. Just number.

See details here: http://www.w3schools.com/tags/att_ifr...

Regards.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

HTML size in popup not displaying correctly in IOS app tester

Sorry when I copied as text it didn't appear as converted to iframe html.

I have tried without px and get same outcome in iOS.

Thanks,
Aeneas

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

HTML size in popup not displaying correctly in IOS app tester

Hi Aeneas - So do you getting now the needed result or?

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

HTML size in popup not displaying correctly in IOS app tester

Hi, no nothing has changed so still same result in iOS tester with frame being too big for screen

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

HTML size in popup not displaying correctly in IOS app tester

Hi Aeneas,

Please use WEINRE debugger to see what exactly height attribute set for your iframe html element.

http://devcenter.appery.io/documentat...

Regards.

Return to “Issues”