IBM Worklight 6.1 - iOS 7 (iPad) WebView extending height to size of split keyboard
Asked Answered
M

1

0

I am wondering if anyone has come across the following issue and if there is a solution for Worklight 6.1 on iOS 7.1.

When I bring up the software keyboard, it resizes the web view indefinitely. This means that when I scroll the view, it scrolls past the body content and a black underlay is displayed. The black section is the same height and width as the keyboard.

To reproduce: I have created a standard Worklight project and added a simple text field to the default index.html page. Focus the search field and invoke the split keyboard and then scroll the page up; you will see the black section. The page continues to scroll even after the keyboard is dismissed.

There appear to be similar posts about this defect in Cordova 3.1:

There are various fixes proposed, and I have tried some of the simpler ones without success. I want to know if there is an official fix in Worklight for this. I do see there appears to be a new keyboard plugin:

http://shazronatadobe.wordpress.com/2013/10/15/cordova-ios-and-ios-7-support/

Mulley answered 6/5, 2014 at 15:53 Comment(2)
Can you provide a sample Worklight project that reproduces the issue?Souvaine
If you download the DST App center bit.ly/dstcenter you will notice the issue.Mulley
P
0

Go in your iPad native folder and open config.xml. In widget list, add this:

<preference name="KeyboardShrinksView" value="false"/>
Pace answered 6/7, 2014 at 7:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.