Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Tab Icon Jumps

$
0
0

hi,
i think ionic will remove tab icon and then add it again
so maybe some mobile not fast enough to display.
then we see the icon jump.

my noob solution:
edit lib/ionic/js/ionic.bundle.js go to line around 58901
replace template

template:
'<a ng-class="{\'tab-item-active\': isTabActive(), \'has-badge\':badge, \'tab-hidden\':isHidden()}" ' +
  ' ng-disabled="disabled()" class="tab-item">' +
  '<span class="badge {{badgeStyle}}" ng-if="badge">{{badge}}</span>' +
  '<i class="icon {{getIconOn()}}" ></i>' +
  '<span class="tab-title" ng-bind-html="title"></span>' +
'</a>',

Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>