This is a migrated thread and some comments may be shown as answers.

bug report: Q3 1316: iOS7 appMode bug resulting in 20px white footer when run in cordova

3 Answers 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 20 Jan 2014, 02:56 AM
There is a bug in Kendo Mobile where Kendo tries to be smart and work around the Mobile Safari bug where the footer obscures the bottom 20px in certain scenarios, which leads to a white strip appearing when run as a cordova application.

The Kendo workaround is defined in kendo.mobile.js as BROKEN_WEBVIEW_RESIZE ( line 16876 ). This line currently reads
        BROKEN_WEBVIEW_RESIZE = OS.appMode && OS.ios,
but it should probably be either 
        BROKEN_WEBVIEW_RESIZE = ! OS.appMode && OS.ios,
or OS.appMode has a bug that leads it to return the wrong value.

Either way, the bug leads to the 20px "correction" to take place, resulting in a 20px high white strip at the bottom of the app. 

This has been tested with cordova 3.3.1-0.1.2 and iOS 7.0.3 (simulator and device).

Thanks,
Max


3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 21 Jan 2014, 01:43 PM
Hi Max,

Thank you very much for bringing this to our attention.

This will be fixed with the next internal build.

As a small gesture of gratitude I have updated your Telerik points balance.

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Steven
Top achievements
Rank 1
answered on 21 Jan 2014, 05:32 PM
I'm also running into this on a compiled PhoneGap app (iOS7). Is there an easy way to fix this as I need to get an app submitted today?
0
Accepted
Max
Top achievements
Rank 1
answered on 21 Jan 2014, 09:41 PM
The new internal build 2.1013.3.1321 seems to fix it :)
Tags
General Discussions
Asked by
Max
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Steven
Top achievements
Rank 1
Max
Top achievements
Rank 1
Share this question
or