You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
The strange thing here is that ajax native send seems to call the onTouchEnd function.
We could replicate the problem by touching the screen while an ajax call was pending (I'm not completely sure of the internals, but we could always replicate by touching the screen at a point where ajax would run).
This didn't happen in the browser, happened only within the cordova app in iOS.
We were able to fix it by renaming the function bind to fcBind. I believe this code somehow hooked event handlers with events it wasn't supposed to.
for (var i = 0, l = methods.length; i < l; i++) {
context[methods[i]] = bind(context[methods[i]], context);
}
Like I said, renaming the function bind() to fcBind() fixed it.
I thought I would leave this here in case someone else has a similar issue.
Hi,
We were getting errors with a callstack that looked like this:
The strange thing here is that ajax native
sendseems to call theonTouchEndfunction.We could replicate the problem by touching the screen while an ajax call was pending (I'm not completely sure of the internals, but we could always replicate by touching the screen at a point where ajax would run).
This didn't happen in the browser, happened only within the cordova app in iOS.
We were able to fix it by renaming the function bind to fcBind. I believe this code somehow hooked event handlers with events it wasn't supposed to.
Like I said, renaming the function
bind()tofcBind()fixed it.I thought I would leave this here in case someone else has a similar issue.