How can I avoid the refresh caused by the default behavior of the tag a (link) auto added by uib-tabset using angular-ui-bootstrap?
Regards,
Nicolas
Asked
Active
Viewed 37 times
0

NicoESIEA
- 499
- 1
- 6
- 23
-
I tried stopPropagation() but it does not work – NicoESIEA Jan 18 '19 at 14:43
-
I found : http://embed.plnkr.co/f0p9uZgKuWTNh3Ss7okY – NicoESIEA Jan 18 '19 at 14:43
-
Solution can be: event.preventDefault(); But is it a good solution? – NicoESIEA Jan 18 '19 at 14:44
-
**Nobody** have a point of view regarding the use of preventDefault();? https://stackoverflow.com/questions/5963669/whats-the-difference-between-event-stoppropagation-and-event-preventdefault – NicoESIEA Jan 18 '19 at 16:09
1 Answers
0
I guess this solution can be ok
event.preventDefault();

Wai Ha Lee
- 8,598
- 83
- 57
- 92

NicoESIEA
- 499
- 1
- 6
- 23