meteoric / meteor-ionic

Ionic components for Meteor. No Angular!
http://meteoric.github.io
MIT License
1.51k stars 219 forks source link

Animate to same route #203

Open Sivli-Embir opened 9 years ago

Sivli-Embir commented 9 years ago

I am having a problem with routing to the same route.

Here is what I have: I have the route Router.route('/units/:unitId') where unitId is a collection _id. Units link to other units, so unit "a" could link to unit "b".

The problem I am having is I link to unit "b" from "a" and no animations trigger, the page just flashes to the new template.

Now I am having a number of other issues with the template not updating data so I wonder if this is a IR or blaze issue. It would make sense that Blaze is not destroying the template and/or IR is ignoring the route change and just updating the params.

Sivli-Embir commented 9 years ago

This seems to be my core problem: https://github.com/iron-meteor/iron-router/issues/890 not sure what to do about it as of yet. IMO route/id1 and route/id2 are diff routes even if if they share a template and they should at least animate on change.

juzpermsky commented 8 years ago

Hello! Did you solved this problem? I faced with the same difficulties. I use meteor-ionic and iron-router. And my sadness is that there is no animation during page transitions between URLs like viewObject/:_id1 and viewObject/:_id2. If you found decision, please help!