bug using this package with template-animations and flow-router
lfades opened this issue · 2 comments
lfades commented
I'm using https://github.com/gwendall/meteor-template-animations with flow-router and everything was going well, but there was a problem, every time I change route and turned the animations stopped working, at first I thought it was my mistake, but then clone I this repository and fixed it.
// change this
if (!tpl.viewName) return;
// for this
if (!tpl) return;
after it all was love and happiness
nikogosovd commented
@goluis I have the same issue and tried similar fix. Everything is good except that several templates rendered on one page increment hooks calls.
I have 10 templates with {{#each}} and changing content of #each block causes hook to fire 10 times.
lfades commented
I stop using the package after a few days later due to a bug similar to yours, I decided to use animations directly in html