angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.29k stars 6.73k forks source link

Tabs - Changing from ng-class + display:none to ng-if #6479

Open picheli20 opened 7 years ago

picheli20 commented 7 years ago

When we are using same directive inside the tab (for exemple angular-ellipsis) which needs to do same DOM manipulation, the ng-class with display:none; compiles the JS code without a HTML.

Changing to ng-if we make the "directives" be activated when the user enter in the tab, not in the page.