Skip to content

Conversation

lusess123
Copy link

@lusess123 lusess123 commented Mar 15, 2018

Just as React Protals ,a DOM node that exists outside the DOM hierarchy of the parent component may be the same rootInstance
eg.
iview Modal/Poptip/Dropdown/... "transfer" props
True to “ Whether to append the layer in body ” , Multi duplicate root instances appear in vue-devtools . #645

I think the better solution is if the same root node displays the component node, and different root nodes show another root node.

Just as  [React Protals](https://reactjs.org/docs/portals.html) ,a DOM node that exists outside the DOM hierarchy of the parent component may be the same rootInstance    
eg.  
      [ iview      Modal/Poptip/Dropdown/...     "transfer"    props  ](https://www.iviewui.com/components/dropdown-en#API)   
       true  to   “ Whether   to append the layer in body ”   ,      Multi   duplicate  root instances   appear  in  vue-devtools .
Just as  [React Protals](https://reactjs.org/docs/portals.html) ,a DOM node that exists outside the DOM hierarchy of the parent component may be the same rootInstance    
eg.  
      [ iview      Modal/Poptip/Dropdown/...     "transfer"    props  ](https://www.iviewui.com/components/dropdown-en#API)   
       true  to   “ Whether   to append the layer in body ”   ,      Multi   duplicate  root instances   appear  in  vue-devtools .
Just as  [React Protals](https://reactjs.org/docs/portals.html) ,a DOM node that exists outside the DOM hierarchy of the parent component may be the same rootInstance    
eg.  
      [ iview      Modal/Poptip/Dropdown/...     "transfer"    props  ](https://www.iviewui.com/components/dropdown-en#API)   
       True  to   “ Whether   to append the layer in body ”   ,      Multi   duplicate  root instances   appear  in  vue-devtools .
@Akryum
Copy link
Member

Akryum commented Jul 26, 2018

Fixed in #711, thanks for your PR!

@Akryum Akryum closed this Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants