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

Scroller repositioning problem after keyboard dismissed in AppBuilder

2 Answers 60 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 02 Jul 2014, 03:52 PM
Hi All,

I am building an app targeting Android primarily though the Telerik AppBuilder (BlackDragon), and have discovered an issue reported against the Web projects within a different thread of this forum (http://www.telerik.com/forums/scroller-repositioning-problem-after-keyboard-dismissed).

The post above mentions the issue within the web interface, with the demos:
http://trykendoui.telerik.com/uWun - with the bug
and
http://trykendoui.telerik.com/@Kiril/OsAt - with a fix (adding data-use-native-scrolling="true" to the scrolling view)

I have tried the websites on the target device (running android v4.4.2), and the one with the bug behaves as the app, and the fix actually works in the browser on the phone.

However adding this fix into the AppBuilder solution (or even rehosting the html in the AppBuilder onto the phone) the bug exists on the first link (http://trykendoui.telerik.com/uWun), but you cannot scroll at all in the one with the fix (http://trykendoui.telerik.com/@Kiril/OsAt).

I was therefore wondering if there is a different fix for the AppBuilder apps, or a way of enabling native scrolling?

Thanks in advance,
Dave

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 02 Jul 2014, 04:49 PM
Sorry for answering my own question here, but worth noting if anyone else comes across this.

The fix above does work (http://trykendoui.telerik.com/@Kiril/OsAt), only you have to specify to enable native scrolling in the app startup (defaults to false, which I didn't realise)
http://docs.telerik.com/kendo-ui/getting-started/mobile/native-scrolling
 new kendo.mobile.Application(document.body, { useNativeScrolling: true });
0
Kaloyan
Telerik team
answered on 07 Jul 2014, 07:14 AM
Hi David,

Thank you for sharing this with the community.

Also, please let us know if we can be of assistance.

Regards,
Kaloyan
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
General Discussion
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or