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
expected dom structure will be the same in directive bind hook and after tick from it
What is actually happening?
in bind hook <comp /> is #docuement-fragment (or null in 2.0)
after tick from bind it <div><p>...</p></div>
I know, may be it'is not a bug. Slots compiles under parent of component that has slots (root instance in this case), and may be it is not possible to bind directives after slot component is "in dom" but who knows?
The text was updated successfully, but these errors were encountered:
Note: the behavior is introduced in rc.4 but will be reverted in next release. Instead, a new custom directive hook inserted is introduced, which will be called when the element has been inserted into a parent node.
Vue.js versions
1.0.26, 2.0.0-rc.3
Reproduction Link
fiddle 1.0.26
fiddle 2.0.0-rc.3
What is Expected?
expected dom structure will be the same in directive bind hook and after tick from it
What is actually happening?
in bind hook
<comp />
is #docuement-fragment (or null in 2.0)after tick from bind it
<div><p>...</p></div>
I know, may be it'is not a bug. Slots compiles under parent of component that has slots (root instance in this case), and may be it is not possible to bind directives after slot component is "in dom" but who knows?
The text was updated successfully, but these errors were encountered: