lundi 14 mars 2016

Cant can route animations to work in liquid-fire

liquid-fire

ember@2.3.0
node@5.6.0
liquid-fire@0.23.0

The following works fine, I am getting a toLeft animation when changing any route.

  this.transition(
    this.use('toLeft')
  );

I am trying to constrain this animation to the following route only. However, now no animation is shown at all.

  this.transition(
    this.toRoute('admin.pending-application.new'),
    this.use('toLeft'),
    this.reverse('toRight')
  );

  this.transition(
    this.toRoute('admin.pending-application.new.index'),
    this.use('toLeft'),
    this.reverse('toRight')
  );

I have even tried this and no animations are shown

  this.transition(
    this.toRoute('*'),
    this.use('toLeft')
  );

It seems that whenever I reference the route liquid-fire is no longer able to resolve the route correctly.

Aucun commentaire:

Enregistrer un commentaire