Is is possible to hide header while typing?


#1

hi
can any one tell me that how can we hide header while typing ?
i am creating one message/chat app in which i fixed teatarea at bottom (footer) and when user type in it, i want to hide the header.

Thank You.


#2

You might want to try $ionicNavBarDelegate.showBar(false).

http://ionicframework.com/docs/nightly/api/service/$ionicNavBarDelegate/

I’m not sure if this will work for you or not. Setup a CodePen sample and others might be able to dabble with it too.