Comments (4)
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-fix-select-popover.