[Nightly] Tab bar active class


#1

I’m having a problem with the active status of the tab icons. The ng-if of the icon works properly with the isTabActive() and it shows the active icon, but the <a> doesn’t get the active class… Maybe because it’s not binded and initially isTabActive returns false and then it becomes true but the class doesn’t refresh?

Sorry for my poor english today, it’s monday and i’m sleepy XD


#2

What I mean is this:

The icons have an ng-if using the isTabActive() and the icon-on is shown, so isTabActive() is returning true, but the class .active doesn’t appear in the <a>.


#3

Thanks Adam, now it works using .tab-item-active. It seems that the active class is used by the button when being clicked so using a different class fixes the problem.