Keyboard Cordova hides inputs

Asked

Viewed 1,447 times

0

I’m developing a aplicativo hibrido I use Cordova plus HTML5 + jQuery and I’m having a problem. When I click on the text field to type something the automatic keyboard event is triggered and the keyboard is positioned on top of my inputs.

The ideal would be to click on some input appear a div keyboard size to enable the slide to view what you are typing.

How should I fix this? Is there a function that does this automatically, or should I program something? If so, how to do it?

1 answer

1


Renan, there is a solution for this and it is not with div as you suggested. It is simply a configuration in config.xml. Behold:

<preference name="fullscreen" value="false" />

  • Just a minute to test.

  • It worked, however there is another problem that you might know how to solve. You know why the application before booting gets white screen ?

  • Oops, I know. This is a feature called "Splash Screen", you probably didn’t set any image to be the splash screen of your app. It’s like a loading image, so that the user sees something while the app is being initialized. You arrow it in the same file you set up in config.xml. It’s something very simple, you will have everything you need to know on this link http://cordova.apache.org/docs/en/5.0.0/config_ref_images.html If you still have doubt, volta ae.

  • What I’m not getting is to disable this splash, I want you to go straight into my programming but I’ve tried everything and nothing. How to take this screen ? @wennderSantos

  • Not possible @Renanrodrigues

  • Wow, so it’s bound to have this ugly screen every time it comes in ? I see some apps that don’t have it... I already tried to set another splash but the white screen insists on appearing. And @wennderSantos

  • every time will start with the white screen ? not like nor hide it, or do something with it ?

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.