You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to use jQuery's .append() without the nextTick as well, but not prepend(). I'm not sure if it's a bug or not but it might help someone out there.
I still have this problem, but then with a directive that reduces the number of children.
I'm implementing a v-ladda directive for 'ladda' buttons (Buttons with built-in loading indicators, https://github.com/hakimel/Ladda). In bind(), it changes the DOM by wrapping all children of a <button> in one <span> (I copied their code).
Wrapping one child works fine, but when wrapping multiple children (even text nodes resulting from newlines, which is annoying) Vue fails with the TypeError again.
I'm trying to solve an odd problem, and thought I could work around it by manually adding some items to a directive's element:
http://jsbin.com/quxusu/2/edit?html,js,output
Which causes this error in a replace method:
Is this a bug, or expected behavior?
The text was updated successfully, but these errors were encountered: