Comments (5)
I think I will publish the next version with abstract: true
.
Haven't found a way to make the portal components visible in the devtools then, but that's not a real problem I would say.
from portal-vue.
Hey @miljan-aleksic,
thanks for pointing this out. I will think about this and play around with the options. I don't think that I want this to be a directive though.
from portal-vue.
So I tested this as an abstract component, and it works well. the downside is that you don't see the components in the devtools anymore.
So I will try to get a workaround for that as well.
from portal-vue.
Why is that? Components inside the abstract Transition one are visible.
from portal-vue.
The components in the slot are visible - the <portal>
and <portal-target>
ones are not.
That's not a real dealbreaker, but I would prefer if they were visible. But not sure yet weither both are possible together.
from portal-vue.
Related Issues (20)
- [3.0.0-beta.0] transition-group transitions every element instead of just the one added/removed HOT 3
- Tests not working for components with a portal and a transition component HOT 1
- [Feature Request] Add TypeScript support HOT 2
- Document optimization HOT 1
- use npm install, [NOT_FOUND] protal-vue not found HOT 1
- targetSlim behaves inconsistently in `portal-vue.esm.js` and `portal-vue.common.js` HOT 2
- "Unexpected" output when <portal-target multiple> is paired with <transition-group tag="x"> — or just bad interpretation of docs? HOT 3
- There is a issue with Vite and Vue 2 HOT 4
- Nuxt module is missing in 3.0.0 HOT 4
- Logo is missing on the readme
- Strange behavior and transitions not working HOT 3
- $parent HOT 2
- Please bring back hasContentFor HOT 1
- <TransitionGroup> not working with <PortalTarget> when <Portal> is component root in Vue 3
- Question: Deliberately using 2 portal targets with same name
- injection "Symbol(wormhole)" not found
- Wormhole.hasTarget() not a function with Vue3 HOT 2
- Portal-target not updating with new information HOT 2
- use vitepress-sandbox to render demos in MD HOT 1
- Getting error while importing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portal-vue.