-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Description
vue.js version 1.0.21
vue-router.js version 0.7.13
I am confronted with sudden webcore crashes on mobile safari in our app which uses UIWebView. I created a minimal jsfiddle that will crash both UIWebView and standard mobile safari (iOS9).
The problem arises when binding to touchstart events even in otherwise empty templates. It does not matter if the touchhandler contains any code at all.
When a compontent with such a layout is instantiated via vue router there is a certain possibilty that webcore will crash.
Here is the trivial jsfiddle that will crash mobile safari after flipping between 2 compontents for less than 20-60 seconds (1 flip per second):
https://jsfiddle.net/ajorias/wev8ugka/
If you remove the
v-on:touchstart="evTouchstart"
binding from the two templates there will be no crash.
Any ideas?