-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transition #98
Comments
Yes it is. Without the slim prop, a transition-group is used, and as the error states, it's children need a For the second problem I would need to see some actual code that I can run. |
Thanks for the quick answer. I'll update with a demo asap |
Harder than expected to reproduce in a codepen, I'll create a dedicated repo |
Edit: tinymachine repro is cleaner |
thanks, will take a look in the coming days. I'm a bit short on time at the moment, unfortunately. |
+1 on the Repo: https://github.com/tinymachine/portal-vue-transition-examples Thanks for open-sourcing this project! |
The enter transition works just as expected but the leave transition never triggers. Any news on that issue? |
Hi @kfirba , it's because of the this.$el.innerHTML = '' in the portal-target.js. |
Good catch. I remember I put it there for some reason, but forgot what it was, to be perfectly honest. Maybe it might not be necessary (any longer) |
@redplant3d Good catch. @LinusBorg Any plans to address this? Do you need us to check something? |
Yes I'm planning to address this, but I'm still struggling to make time for this project sind February. Was moving, had a huge project at work and so on. My schedule will relax considerably around the end of June, but before that' i won't be able to much. If you want to submit a PR with this line removed and passing tests, that would be appreciated. |
+1 for this, I just ran into the same issue :) Oh and quick update: It works for me if I add the |
@LinusBorg: Hope it's not poor form to tag you on this; just want to make sure you were aware of this issue since 1.4.0-beta.1 is supposed to fix this transition issue, but, in my testing at least, it seems not to. I might be missing something, but I updated to the 1.4.0-beta.1 version and I'm still seeing the issue of the leave transitions not displaying: 1.4.0-beta.1 example Any help you can offer would be great -- thank you! |
Hi,
vue: 2.5.13
portal-vue: 1.3.0-beta.0
I have a basic usage of portal-vue for modal display (because sadly (or not) z-index is relative)
I got the following breaking error (there is only one modal at a time)
[Vue warn]: <transition-group> children must be keyed: <>
I fixed it with
slim
props but is it a normal behavior ?Other thing, transition works fine on the initial state if used like this:
But the
leave
part of the animation is ignored.Is it possible to get the animation duration then clean the portal-target after it ends ?
Because ideally, I see portal-vue as an option. If I have to move the transition part of a component to get it works, its behavior with or without portal will be different and it's a problem.
Thanks for your work on this lib!
The text was updated successfully, but these errors were encountered: