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

select function runs always. #6399

Closed sh977218 closed 7 years ago

sh977218 commented 7 years ago

The issues forum is NOT for support requests. It is for bugs and feature requests only. Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

select function got called every time click tab, even if the tab is already selected.

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/1kZXAhrwdftVNdR1098i?p=preview

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.8

UIBS: 2.4

Bootstrap: 3.3.7

icfantv commented 7 years ago

This is by design and not a bug due to user requests. You may feel free to ignore the event if your tab is already selected.