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

iPhone 5 can't scroll through listview

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 21 May 2013, 01:14 AM
Hi! I have a problem with iPhone 5 scrolling -- in the simulator after a couple of minutes, I can't scroll. On an iPhone 5, it stops scrolling immediately when the job list loads.

Am I loading the list in a way that could cause it to stop scrolling (show vs init)? Should I scrollview instead of listview? Anyone else having this issue? Is there a fix?

Gist of example

All of the buttons in the layout work perfectly fine, and you can click / tap on the items in the jobsList -- but you just can't scroll the jobslist.

2 Answers, 1 is accepted

Sort by
0
Andrew
Top achievements
Rank 1
answered on 21 May 2013, 04:53 PM
Confirmed this isn't related to these meta headers:

      <meta name="viewport" content="initial-scale = 1.0, user-scalable = no">
      <meta name="apple-mobile-web-app-capable" content="yes">
0
Accepted
Alexander Valchev
Telerik team
answered on 22 May 2013, 11:07 AM
Hi Andrew,

Thank you for getting in touch with us and for sharing the code.
I noticed two main issues:
  • instead of using the ListView features that are provided out of the box, you are rendering the HTML manually. This is in conflict with the concept of the widget.

    Please use the build-in data bind functionality as demonstrated in the following examples:
    http://demos.kendoui.com/mobile/listview/databinding.html#/
    http://demos.kendoui.com/mobile/listview/endless-scrolling.html#/

  • if you are using the jQuery plug-in syntax, please initialize the widgets at the init (not show) event of the corresponding View. Kendo widgets should be initialized only once - e.g. if you use .kendoMobileListView() method please do not add data-role in the mark-up.

I hope this information will help. In addition you may check the Mobile FAQ section as it lists the most common problems that you may encounter with.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Andrew
Top achievements
Rank 1
Alexander Valchev
Telerik team
Share this question
or