Can't find variable: TouchEvent

Hi everyone, I’m new. My colleague just gave me a Wappler project, to understand how his web app works.
Now I signed up just to ask you why this project throws an error “Can’t find variable: TouchEvent” when I click on ANY button. I can see he used the “Click” event and not the Touch one.
Also, he found out he has this error on his project copy too, while it was working some days ago.
I need to mention this error occurs only on Safari.
Thank you!

Hey philiph, welcome :slight_smile:
This doesn’t ring a bell for me. Can you share the full console error?
Perhaps also with a link to the page?

Hi karh, I can't share a link cause it is only on my computer.

The full console error:

[Error] ReferenceError: Can't find variable: TouchEvent
a (dmxAppConnect.js:7:12799)
dispatch (jquery-3.5.1.slim.min.js:2:42874)

The button I'm clicking:

<button id="generate" class="btn" data-bs-toggle="button" dmx-on:click="form1.submit()">Generate</button></div>

It won't work with any button I press

This was an old bug in app connect. Make sure you have the latest Wappler and the app connect files are updated to the latest

as of app connect version 1.13.0 this problem still persists on safari on mac and ios.
needs to be fixed please.

This has been fixed in the App Connect update in Wappler 4.8.1

wappler 4.8.1 has appconnect version 1.13.1
this fixes the macos issue of TouchPointer, have checked.
thank you.

1 Like