-
Notifications
You must be signed in to change notification settings - Fork 54
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
Plugin installation is preventing the SoftKeyboard from pushing the content up #115
Comments
What if you remove the extension after installing it? Still like you didn't install it? (normal?) |
Yes, |
Ok, I found something in plugin.xml.
Maybe something in these config changes is doing this... |
But then again, you want the keyboard to be hidden when the downloader bar shows so I am not sure. |
Earlier today I tried adding |
Can you check to see if anything is changing in the meta headers in the generated html file maybe? |
I guess try to see exactly what changes in the two different outputs. |
I don't see any HTML files being generated during the installation. Could you please tell which one is it that you meant. |
Well, when you create a package, generated stuff goes into a separate directory, right...? |
Maybe in the manifest xml? Or possibly the config.xml. |
You mean when I do I don't feel any of these caused that. |
Have you ever faced this similar problem on one of your apps where you used your plugin? |
I don't remember. I just set the meta tag so it does not resize. |
Oh, I get it.... you need the opposite... |
How about this? Try and see if you can get it to work... https://stackoverflow.com/questions/31407367/on-screen-keyboard-resizes-app-when-an-input-box-is-selected-apache-cordova-visu But this is def. an issue that should be resolved somehow without it, probably. |
Yeah, I can install another plugin, not at all a problem. Let me check it and get back to you tomorrow? |
Thank you so much for the discussion though. |
Sure. Let me know how it goes! |
So, I should add |
Unsure. Try both ways (after the onload and before you show the form) I guess... |
Seems like the |
Unclear.... I dunno, there must be a way... maybe just meta tags..... |
Could you please share the snippet where you add the |
check the options for the viewport meta tag.
|
Commenting the workaround to be full screen in Once again, thank you for the discussion and the awesome plugin. Cheers! |
Well, I need to fix this somehow. Can you clarify something for me? You said: So you are saying that you want the content to be resized and bigger, but your screenshots suggest you DON'T want the content to be resized. Was it a typo? |
I want the user to be able to see what she/he is typing on the textbox. In my case the softkeyboard just blocks the textbox(AFTER INSTALLATION screenshot) without bringing the textbox to focus like in the BEFORE INSTALLATION screenshot. May be I should remove the |
But after installation, the app does seem to resize and bring something else to focus, and not the textbox that the user was typing in? ??????? The red rectangle is causing a lot of confusion for me. What if you change the code to as follows:
|
Red rectangle is just to hide some private content. But as you can see the login form starts right after the red rectangle which is supposed to be pushed up like in the first screenshot. Before commenting out the code in |
Great, thanks. |
The snippet you provided 2 comments above did not work. I checked it a while back. |
OK. I'll investigate further to see if I can solve this without commenting out that code. Thanks. |
This is related to #117. The resize behavior is connected to the visibility of the status bar. I can reproduce this by calling Edit: One can also see that @nandukalidindi 's screenshot after the installation of the plugin has no status bar. |
I know this issue is old, but I ran into this same bug today, and I'm kicking myself for not checking here before spending the majority of the day tracking it down and fixing it. So, @nandukalidindi was on the right track. The setting The code that (s)he points out forces the app into fullscreen mode, but doesn't ever change it back if applicable, so it stays that way and thus breaks the soft keyboard setting. I was able to fix it by first checking/storing the current setting, and changing it back when the activity is finished, if it changed. Here is the pull request: #139 My knowledge of Android development using Java is limited, so this should definitely be given some scrutiny. However, my own testing seems to show that it's working. |
Okay. I also noticed you added another check. Thank you. |
First off, that you for this wonderful plugin!
I successfully am able to get it working with the expansion files and published 2 apps thanks to this.
However, recently I found out that after the installation of the plugin the SoftKeyboard that shows up while entering into textboxes is not pushing the content, rather the content just stays as is. This could be a problem for me because I would like the users to see what they are typing on the textbox.
BEFORE INSTALLATION:

AFTER INSTALLATION

The textbox is infact behind the SoftKeyboard. The red rectangle is just some text. The white form starts right below the rectangle and that contains the textbox to be typed into.
I tried debugging it before and after the plugin installation and I am positive that this happens only after the installation.
Is there a chance that the resizing is deliberately disabled through the extension?
Thanks.
The text was updated successfully, but these errors were encountered: