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
We are using <Portal> to transfer some nodes to some location, with parent being display: flex. When more than one node is transferred, the wrapper <div> would prevent flexbox related CSS rules from working.
Currently we are using a random tag as custom element and display: contents as a workaround. However in some cases Vue would complain that as an unregistered component.
Making <Portal> inherits staticClass, class, staticStyle and style looks like a perfect fix from our point of view.
The text was updated successfully, but these errors were encountered:
We are using
<Portal>
to transfer some nodes to some location, with parent beingdisplay: flex
. When more than one node is transferred, the wrapper<div>
would preventflex
box related CSS rules from working.Currently we are using a random tag as custom element and
display: contents
as a workaround. However in some casesVue
would complain that as an unregistered component.Making
<Portal>
inheritsstaticClass
,class
,staticStyle
andstyle
looks like a perfect fix from our point of view.The text was updated successfully, but these errors were encountered: