GithubHelp home page GithubHelp logo

Comments (4)

kurtisf avatar kurtisf commented on September 28, 2024

I was unable to reproduce a crash in WKWebView with the simple test I was running. Are you able to put a breakpoint in fixSelectPopover_presentViewController from XCode to verify that the plugin is hooked up correctly? Are you able to reliably reproduce the crash and what does your layout look like?

from cordova-plugin-fix-select-popover.

adamscybot avatar adamscybot commented on September 28, 2024

I'll give that a try shortly. What wkwebview plugin did you test with on ios8? I am on cordova-ios 3.9.2 with teleriks plugin. I know that now in cordova-ios 4+, there is an official wkwbview plugin - though this actually only loads on ios9+.

It probably is a load order thing as you suggest -- not sure how 2 seperate plugins can interact like this.

from cordova-plugin-fix-select-popover.

kurtisf avatar kurtisf commented on September 28, 2024

I tested yesterday using a sample native iOS project. I am able to reproduce the bug outside of Cordova by simply creating a WKWebView or UIWebView directly and pointing it at a website with drop down on it.

The plugin uses a 'swizzle' that will add a shim layer of code that call the original method, so both plugins should be able to run fine if they've hooked up to the same events.

You should be able to put a breakpoint in fixSelectPopover_presentViewController and see it gets hit from XCode when you open a dropdown in a Webview on an iPad.

from cordova-plugin-fix-select-popover.

lotar9 avatar lotar9 commented on September 28, 2024

Hi Kurtis,

It's also failing using your plugin in latest Cordova (6.2.0) and latest iOS (9.3.2).

I'm testing in a Cordova app (remote web files using https, and dropdowns inside an iframe). I put a breakpoint in the fixSelectPopover_presentViewController. When I tap a dropdown, XCode tries to stop in the breakpoint, but it halts. Without breakpoints, the app crashes randomly when dropdowns are tapped.

I realized that the breakpoints also stops correctly when opening another page w/o dropdowns, so it seems that your code is correctly installed in my app.

Tomorrow I'll test in a local html file w/o iframes.

from cordova-plugin-fix-select-popover.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.