bug: ng-click + ui-sref not working on tabs directive.
Type: bug
Platform: all
Dear Ionic Developers
Working on ionic framework 1.0.0. Love it so far! :-) Now my issues
ng-click and ui-sref do not work on the tab delegate. On most elements the combination of the two change the state and execute the function stated in the ng-click attribute. But on the Tab directive only the ng-click function is triggered, the state does not change!
The second problem which might be related is: I decorated the $state delegate in order to log something in the console on every state change. Now this worked on any ui-sref click but on tab clicks the state.go does not seem to trigger or the decorator did not take effect.
Retry here: http://codepen.io/anon/pen/aOwwKw Click on Home Tab -> no state change is logged in console even though $state.go is decorated. Click on Home Tab/Scientific Fact -> state change is logged. Ok! Click on About Tab -> state change does not happen even though ui-sref attribute on tab element, but ng-click function is triggered.
Cheers!
It looks like the ng-click fires before the ui-sref does and that the click event isn't propagating through
Greetings @otruffer!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.
:+1: This is still an issue. He's provided an adequate description of the issue, and supplied a link. Would you please re-open this issue and provide a solution? Thanks.
+1
+1
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.