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
Currently VMenu, VSelect and others by default will be attached to the real DOM and will use styles from the root document instead of using ones from the Shadow DOM. This doesn't work for us because we're migrating from Bootstrap to Vuetify and we can't mix two CSS frameworks.
Possible solution we've explored was using contained or attach=this, however this creates a problem with z-index. For example, when we had a <VSelect contained=true/> - the contents of dropdown were appearing to be behind the <VCheckbox/> that followed select (kinda demo).
Proposed solution
I've created a patch for Veutify v3.1.2 using npx patch-package that will attempt to put VOverlay into the Shadow DOM root node. If this seems like a reasonable solution - I'll be happy to open a PR.
Problem to solve
Currently VMenu, VSelect and others by default will be attached to the real DOM and will use styles from the root document instead of using ones from the Shadow DOM. This doesn't work for us because we're migrating from Bootstrap to Vuetify and we can't mix two CSS frameworks.
Possible solution we've explored was using
contained
orattach=this
, however this creates a problem with z-index. For example, when we had a<VSelect contained=true/>
- the contents of dropdown were appearing to be behind the<VCheckbox/>
that followed select (kinda demo).Proposed solution
I've created a patch for Veutify v3.1.2 using
npx patch-package
that will attempt to put VOverlay into the Shadow DOM root node. If this seems like a reasonable solution - I'll be happy to open a PR.In 3.1.16 change
getRootNode()
togetRootNode()?.body
The text was updated successfully, but these errors were encountered: