Hello. I need to hide tabs when keyboard is opened, so i use .keyboard-open class on the body for it. But there’s a slight delay after keyboard is fully revealed and class is applied which was not as noticable on beta 14.
Is there a better way?
Hello. I need to hide tabs when keyboard is opened, so i use .keyboard-open class on the body for it. But there’s a slight delay after keyboard is fully revealed and class is applied which was not as noticable on beta 14.
Is there a better way?
I also tried using class=“hide-on-keyboard-open” but it’s very buggy. If I use it on <ion tabs>
then as soon as keyboard is revealed i get white screen. If i use it on any other element, all my content scrolls top off the screen
Adding <preference name="Fullscreen" value="true"/>
and ionic.Platform.isFullScreen = true
now hides tabs when keyboard is opened, but footer is still displayed for a second or so after keyboard appears, creating undesirable lag.
My code is
<ion-footer-bar align-title="center" class="hide-on-keyboard-open">
.keyboard-open { .bar-footer { display: none; } }
Would be nice if tabs could hide quick without making app fullscreen