IBM Worklight 6.1 - iOS 7 (iPad) WebView extending

2019-09-17 10:51发布

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/

1条回答
该账号已被封号
2楼-- · 2019-09-17 11:45

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

<preference name="KeyboardShrinksView" value="false"/>
查看更多
登录 后发表回答