Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app moves on input focus ios 12 and above #83

Open
edvenkat opened this issue Jan 8, 2019 · 15 comments
Open

app moves on input focus ios 12 and above #83

edvenkat opened this issue Jan 8, 2019 · 15 comments

Comments

@edvenkat
Copy link

edvenkat commented Jan 8, 2019

@cjpearson

can you please tell the solution for this?

for your reference
https://camo.githubusercontent.com/e19923ed896d8232238d4714c04243f27f386437/687474703a2f2f692e696d6775722e636f6d2f514458307457512e676966

@Aarbel
Copy link

Aarbel commented Jan 9, 2019

do you have a fixed body and right metas for viewport ?

@edvenkat
Copy link
Author

edvenkat commented Jan 9, 2019

@Aarbel yes body is in position Fixed and my viewport is
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, target-densityDpi=device-dpi,viewport-fit=cover" />
please advice

@ArjanVlaming
Copy link

I'm having the same issue since iOS 12 / Xcode 10. The problem is gone when I remove the "viewport-fit=cover" from the viewport meta. But that is causing then other style issues. A proper fix or a push in the right direction will be appreciated : )

@salcatch
Copy link

does anyone have an update on this? I have been looking for a fix but no luck.

@edvenkat
Copy link
Author

@torycatch please use below github and let me know
https://github.com/edvenkat/cordova-plugin-keyboard-master1

@TaylorHawkes
Copy link

@edvenkat - I was having same issue, and your fork appears to fix...

@salcatch
Copy link

thanks @edvenkat but unfortunately it doesn't appear to have fixed my issue. Can you confirm if I installed it correctly?

  1. Downloaded the master1 keyboard
  2. Put it in the plugins DIR
  3. Added the below code in config.xml
    <plugin name="cordova-plugin-keyboard" spec="1.2.0"/>
    and this within the ios platform section of the config:
    <feature name="Keyboard"> <param name="ios-package" onload="true" value="CDVKeyboard" /> </feature>

@edvenkat
Copy link
Author

edvenkat commented Apr 16, 2019

@torycatch are you called Keyboard.shrinkView(true) funtion in that page

@salcatch
Copy link

a black box appears when i click an input
File

@edvenkat
Copy link
Author

@torycatch Can you please explain what is the keyboard function used on that page.

@salcatch
Copy link

This is a profile page, so there are inputs such as name, email, date of birth, address etc.

@edvenkat
Copy link
Author

I am asking keyboard function like shrinkView, hideFormAccessoryBar

@salcatch
Copy link

Sorry I misunderstood your question. I am only using the shrinkview method. It’s set to true.

@AdrianoGeraldeli
Copy link

cordova-plugin-keyboard-master1

publishes on NPM

@dancombs
Copy link

This may be a temp help for some on here:

#92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants