Skip to content
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 is attached to all sub elements that appear #40

Open
macrozone opened this issue Feb 3, 2016 · 1 comment
Open

Transition is attached to all sub elements that appear #40

macrozone opened this issue Feb 3, 2016 · 1 comment

Comments

@macrozone
Copy link

I use this package with https://atmospherejs.com/philippspo/momentum-flow-router

I use it like that:

{{#momentum plugin='flow-router'}}
   {{> Template.dynamic template=main}}
{{/momentum}}

The animation is attached not only to the inserted template, but on all child nodes that appear inside.
E.g. if there is a subscription in the template and you do not wait for the subscription to be ready, every item in the template will get the animation as it appears on the page.

Its not related to the flow-router plugin, as the same problem applies for e.g the growl plugin:

{{#momentum plugin='growl'}}
   {{> Template.dynamic template=main}}
{{/momentum}}

I am not sure if I am missing something here?

@tmeasday
Copy link
Member

tmeasday commented Feb 3, 2016

Can you post a reproduction? I don't think what you are describing is possible but I must be misunderstanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants