ember-wormhole icon indicating copy to clipboard operation
ember-wormhole copied to clipboard

Renders the content twice while liquid-fire transition is in progress

Open RobIsHere opened this issue 8 years ago • 3 comments

I noticed that the wormhole content is rendered twice into the target during liquid fire transitions using liquid-outlet.

I think for transitioning from route1 to route2 liquid-fire has both pages prepared. That results in rendering the wormhole content of both pages into my header buttons area.

RobIsHere avatar Jan 18 '17 21:01 RobIsHere

Experienced as well, with Issue due to when using liquid-fire: both routes (transition to and transition from) are displayed on the screen while doing transform animations. Consquently the wormhole will display the new content and the old content at the same time until the transition is complete and the from route is destroyed.

danDanV1 avatar Nov 06 '17 00:11 danDanV1

Has anyone came up with a workaround or solution for this? I am experiencing the same issue.

roncodes avatar Apr 06 '18 06:04 roncodes

I did animations with css. I‘ve created a wrapper component that can delay its destruction for the animation duration. Everything else was just a matter of switching css classes.

I should have done this from start because it was so much more productive. As you go from transition definition by custom js api to well-known standard css

RobIsHere avatar Apr 06 '18 08:04 RobIsHere