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

StatusBar overlay view - need fix for Cordova 3.0

1 Answer 9 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Idan
Top achievements
Rank 1
Idan asked on 31 Mar 2014, 10:36 AM
In my Cordova 3.0 project (I want to use 3.0 instead of 3.2) the view in iOS7 appears below the status bar. I tried the margin-top:20px solution, but when I click a text box and the view goes up to focus on the input field and I click done, the view stays at 0px from the top most part. 

Any code that solves this issue for iOS7 and Cordova 3.0. I know that the StatusBar plugin fixes this, but no for Cordova 3.0.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 02 Apr 2014, 07:53 AM
Hi Idan,

As far as I remember, we did not manage to figure out any adequate fix for the 3.0 cordova state. A thing you may try is to set a padding-top: 20px rule of the navbar element (given you use one). This is how the current status bar translucent support works. It seems to be a reliable approach so far.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Idan
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or