The reason why I add class but never remove class is because ionic should add and remove it automatically, but I think there was a bug in one version, so I had to add it myself, while ionic would remove it once keyboard hides. I am not sure if bug is still there, so I keep above line in my code
↧