cordova my height body got shrink after keyboard pop up

20 Views Asked by At

I'm struggling the whole week to try to solve the shrink problem with the keyboard. There was a plugin from 2015 but it's very hard deprecated and doesn't work anymore.

My problem is, I have a navbar in the top of the body, position:absolute or fixed, I've tried both. Non of them worked.

<navbar style="position:absolute; top:0; margin:0;" />

nothing worked. When the keyboard pops up, the navbar get a few pixels upside and doesn't go back anymore.

I didn't find a recently plugin that works like his old predecessor (https://github.com/cjpearson/cordova-plugin-keyboard)

Someone else struggled with this and work it out?

0

There are 0 best solutions below