Multiple/Double tab click prevention


#1

How to prevent multiple clicks on Tab, which emits “ionViewWillLeave” and “ionViewWillEnter” again and again.

When a tab is already focused and a user clicks the same tab, I want to avoid further ionViewWillLeave, ionViewWillEnter, etc.


#2

Which ionic are you using 3.0.1 or 3.1?


#3

Thanks for the reply! I’m using Ionic 3.0.1.


#4

This is the temp solution for 3.0.1, it is solved in ionic 3.1 tho.


#5

Thank you for taking you time. I’ll try to update to 3.1.