Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

navTransition doesn't play nicely with ngIf #2

Open
jgw96 opened this issue Jan 13, 2017 · 11 comments
Open

navTransition doesn't play nicely with ngIf #2

jgw96 opened this issue Jan 13, 2017 · 11 comments

Comments

@jgw96
Copy link
Contributor

jgw96 commented Jan 13, 2017

From @colllin on December 17, 2014 6:28

If my link has both ng-if and nav-transition="none", the nav-transition directive doesn't take effect.

It might only happen when the ng-if attribute initially evaluates to false.

<a ng-if="eventuallyTrue" nav-transition="none" ui-sref="happyPlace()">...</a>

Copied from original issue: ionic-team/ionic-framework#2741

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @colllin on December 17, 2014 6:37

Changing the priority to 500 seems to help (ngIf uses priority: 600)... but I'm just hacking here.

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @Manduro on January 18, 2016 9:53

This is still an issue in 1.2.4. Not only for ng-if but also for ng-repeat.

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

Hello all! Is this still an issue in ionic 1.3.0? Thanks!

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @Manduro on April 29, 2016 9:53

Yep, still there! Here's a Plunker with the bug:
http://plnkr.co/edit/3HZUjRjTZj5SRHfydLOU?p=preview

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

Hello all! Just tested with the above plunker and it seems to work for me, can anyone still confirm this issue? Thanks!

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @Manduro on May 13, 2016 9:21

This issue definitely is not fixed yet. The Plunker still demonstrates the bug, you might want to take another look ;).

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @lekkra on May 26, 2016 14:24

I see it works fine

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @Manduro on May 26, 2016 14:27

No, it doesn't. When you click an item in the first list it should not animate to the new view, but it does.

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @Ionitron on June 12, 2016 2:56

Greetings @colllin!

My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.

Thank you for allowing me to assist you.

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @Manduro on June 12, 2016 7:34

I guess machines are wrong sometimes @Ionitron!

@jgw96 Could you maybe reopen this issue?

@jgw96
Copy link
Contributor Author

jgw96 commented Jan 13, 2017

From @wbhob on January 6, 2017 2:36

This is a problem because your transition IN is not animated, but the back button wants to always animate out. You would need to modify your back button code for it to not animate back.

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

No branches or pull requests

1 participant