Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError on Mobile Safari UI/WKWebView 13.1.X #65

Closed
andreacimino opened this issue Oct 15, 2019 · 1 comment
Closed

TypeError on Mobile Safari UI/WKWebView 13.1.X #65

andreacimino opened this issue Oct 15, 2019 · 1 comment
Assignees
Labels

Comments

@andreacimino
Copy link

andreacimino commented Oct 15, 2019

The iOS users of my Cordova app started exhibiting the problem after they upgraded their system to latest iOS version. Now tocca exhibits this problem:

TypeError: undefined is not an object

This is shown here in the latest version of tocca in this particular code:

var pointer = getPointerEvent(e)
currX = pointer.pageX <- Here pointer is undefined

This issue is shown randomly I was not able to reproduce with my iPhone SE, I will try to understand which devices affect the problem with more debugging.

I am using Tocca with this configuration.
window.tocca({
useJquery: false
});

@GianlucaGuarini GianlucaGuarini self-assigned this Nov 6, 2019
@Aarbel
Copy link

Aarbel commented Dec 1, 2019

Do you still face this problem ?

iOS13 WkWebview handles touch and click events in a different way. They broke a lot of stacks using WkWebview.
Don't really understand why google / apple continue to mantain native langages and don't use html / css / js every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants