markuslerner / THREE.Interactive

Fast and simple interaction manager for three.js for enabling mouse and touch events on 3D objects
MIT License
183 stars 26 forks source link

Something is off with Safari #12

Closed mgatelabs closed 2 years ago

mgatelabs commented 2 years ago

I'm trying to figure out what is going on with my app and safari. I was able to trace it down to THREE.Interactive as the part which causes the crash. The crash only tells me "SyntaxError: Left hand side of operator '=' must be a reference." and something about promiseReactionJob, but no other details, no line number.

What I tried:

So it feels like something is off when the dependency is used, since if I natively bring in the class and use it, everything is fine. I know THREE had a similar issue a few years ago from this page: https://github.com/angular/angular-cli/issues/21107

Repo: https://github.com/mgatelabs/GenshinSolvers Live: https://mgatelabs.github.io/GenshinSolvers/ (This will have the internal version of Three.Interactive for now)

Also, I tried the sample apps linked to the Readme and in safari they are working, so unsure what is going on.

markuslerner commented 2 years ago

Hi, please try using version v.1.3.0 and let me know, if the problem still persists.

mgatelabs commented 2 years ago

I'll give it a try, thanks

mgatelabs commented 2 years ago

Tried it locally, and it seems to be working, Nice!

markuslerner commented 2 years ago

Cool, thank you for letting me know, @mgatelabs!