Navigating away from md-tabs triggers md-on-select
In 0.9.7, every time I navigate away from a page that contains md-tabs using ng-click, it triggers "md-on-select".
Example at: http://plnkr.co/edit/zjuxgnB5z94s001Q63fQ?p=preview
This does not happen if I change tab.
I'm experiencing this issue as well.
It seems to be caused by this line: https://github.com/angular/material/blame/6c53d1127fc1cb7d2a86802e5831642a40ff1e41/src/components/tabs/js/tabsController.js#L184
Which was changed in relation to https://github.com/angular/material/issues/2837
That removeTab call is made, at least in my case, from here https://github.com/angular/material/blame/91576d0e7d7d1791e3688ba6ceac9a0750ea9e24/src/components/tabs/js/tabDirective.js#L127
If the tabs directive is being destroyed, we shouldn't care about selected tabs being changed I would assume.
Having the same here!
Same issue here
facing same issue.
+1 Happens in 0.9.7 but okay in 0.9.6.
+1 0.9.8-rc1 I'm downgrading to 0.9.6 until this is fixed.
This is resolved in 0.9.8 and higher. Closing for now, please respond with browser details if you are experiencing it past 0.9.8.
@CavemanNinja Unfortunately, the fix was added just after RC1, but it should be good in 0.9.8.