-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
v1.0.0-alpha.2: Uncaught TypeError: Cannot read property '__vfrag__' of null #1249
Comments
Can you provide a repro using 1.0.0-alpha.2? |
Sure thing. Repro created here |
Spent more time on this and don't think it's due to the comment issue that affected #437. Looks like comment nodes are not output in the DOM in Vue 1.0.0 when using v-for, as far as I can tell. So issue is caused by something else that I can't seem to resolve. |
Ok, so in 0.12, the anchor nodes for |
Thanks for the info however this doesn't resolve the issue. If you walk through the reproduction steps in your updated Fiddle the 'Cannot read property Note that this only happens after dragging between two lists like in example, dragging within a list appears to be OK. Any ideas? |
Update: Reproduction here
Occurring when dragging a list item from one unordered list to another - in this case when using RubaXa/Sortable to manage lists.
Appears to be caused by the location of the comment node after items are moved, according to comments under #437 - typeError 'Cannot read property 'vue' of null'. That similar issue was closed as could not be reproduced.
Billiam later provided more details as well as a jsfiddle example.
Now that v1.0.0 uses 'v-for' instead of 'v-repeat' it generates the error: Cannot read property 'vfrag' of null.
The text was updated successfully, but these errors were encountered: