Naveen Kumar V
Naveen Kumar V

Reputation: 2819

ionic - Drop down list flickers in iPAD

Dropdown list in my Ionic application flickers in iPAD.

[1. On Dropdown Tap]

enter image description here

[2. If Tap on outside dropdown list]

enter image description here

[3. If Tap inside dropdown list] Once again the Image 1 will be shown.

It worked fine with iPhone 5s. But not in iPAD.

Any solution or workaround ?

EDIT:

Even if I change the orientation of iPAD, it shows the previously listed dropdown contents.

Upvotes: 2

Views: 954

Answers (1)

Naveen Kumar V
Naveen Kumar V

Reputation: 2819

Seems to be an issue with recent update of iOS 11 and Apple's UIWebView. It works well with Apple's WKWebView.

Resolved the issue by installing cordova's WKWebView.

>> cordova plugin add cordova-plugin-wkwebview-engine --save

Then adding the following in config.xml:

<feature name="CDVWKWebViewEngine">
  <param name="ios-package" value="CDVWKWebViewEngine" />
</feature>

<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

Reference links:

  1. WKWebView Engine plugin
  2. Apple's Documentation
  3. Cordova forum
  4. Other SO question

Upvotes: 1

Related Questions