This is a migrated thread and some comments may be shown as answers.

KeyboardShrinksView not working

2 Answers 77 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nader
Top achievements
Rank 1
Nader asked on 27 Nov 2014, 03:11 PM
Hi,

I have been facing a problem with AppBuilder, as setting the "KeyboardShrinksView" preference in the app's config.xml file does not have any effect on the app.
I tried using Cordova 3.2 and 3.5 without any luck. It only worked when using Cordova 2.7.

I even tried using the Keyboard plugin to set "Keyboard.shrinkView(true);" but the view still scrolls up when the keyboard is opened.

Can you please suggest any workarounds?

Regards

2 Answers, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 01 Dec 2014, 01:56 PM
Hi Nader,

Have you tried the Telerik Verified Keyboard Plugin? If not, I suggest you try it out and its disableScroll() method. To install the plugin directly into your project, right click on your project -> Manage Packages -> Plugins Marketplace -> Select the Keyboard plugin and click install. Of course, you will have to disable the core Keyboard plugin from Properties -> Plugins for this one to work.

Try this out and let me know the results.

Regards,
Martin Yankov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Nader
Top achievements
Rank 1
answered on 03 Dec 2014, 07:53 AM
Hi Martin,

Thank you very much this plugin actually worked!!!
Tags
Report a bug
Asked by
Nader
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Nader
Top achievements
Rank 1
Share this question
or