-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
navClear Does Not Work with ngClick #1047
Comments
The problem here is actually that the ng-click directive catches the click event and changes the state before the navClear directive is able to catch the click event and send the next state its message. Fixing! |
Fixed! Thanks Justin. |
Hi I am using ionic version 0.9.27, and navClear is not working with this version, as the above examples are with beta version. |
@rohitagg28 We do not currently go back and update previous releases. Once we get an official release, we probably will not either unless it is a security issue. However, security issues in the front-end framework aren't really very likely. |
This seems to disabling the UI back button, but is not actually removing the previous view from history, and the hardware back button on Android phone still goes back to that. Is there a way to prevent that? |
@siovene did you solve this hardware back button problem? |
@LucGranato no, sorry. |
When applying the
nav-clear
directive to an element that also hasng-click
, the clear history functionality does not work.Example Of navClear not working : http://codepen.io/calendee/pen/BGEan/
Example Using JS to Clear History : http://codepen.io/calendee/pen/htgBH
The text was updated successfully, but these errors were encountered: