Software Archive
Read-only legacy content
17061 Discussions

Listview scrolling very slow and jerky.

Nick_F_2
New Contributor III
968 Views

in previous versions of XDK I have build a number of Listviews and they scroll smoothly and quickly and they contain upwards of 100 entries.

In version 2611 and the previous version, I have created a Listview with JQuery and JQuery Mobile. The Listview contains 15 Elements each with a heading and 2 input boxes.

Scrolling is really clunky. Scrolling does not scroll with a sweep of the finger but requires constant moving with screen touch to move it along, previously a big swipe would scroll many of the lit view items in one go. Also the fixed header will occasionally disappear so I have to scroll in the opposite direction to get it back. It has the save button on it.

0 Kudos
8 Replies
Nick_F_2
New Contributor III
968 Views

The header disappears when I select and input box and the keyboard appears which pushes the header off the top of the page. It re-appears when I close the keyboard, but the scrolling is still clunky.

0 Kudos
PaulF_IntelCorp
Employee
968 Views

Build the app using Crosswalk. If you run the app in App Preview it is running in the "native" webview. Run it using the Debug tab for a look at how it response in the Crosswalk webview.

0 Kudos
Nick_F_2
New Contributor III
968 Views

Hi Paul

This is a compiled app, not using App Preview. The issue is in IOS currently, CrossWalk and Android build both have smooth scrolling.

0 Kudos
PaulF_IntelCorp
Employee
968 Views

Nick, did you build your UI by hand or by using App Designer (the UI editor)? If you used App Designer, did you "upgrade" the problem app from a previous version of the XDK?

0 Kudos
Nick_F_2
New Contributor III
968 Views

Hi Paul
I'm using App Designer however as mentioned in a previous forum topic I had to build the list view manually because any changes made in designer to the listview blew away the code in the listview for the input elements and replaced them with <p>.

 

0 Kudos
PaulF_IntelCorp
Employee
968 Views

Let me ask someone here who has a deeper knowledge of the list views. In general, our experience with jQuery Mobile is not good. I'll see what his suggestion is.

0 Kudos
PaulF_IntelCorp
Employee
968 Views

Nick, quoting engineering:

If performance is a priority, jQuery Mobile is not the framework for you.

They recommend using Framework7 for best listview results, but any of the other options should give better results than jQuery Mobile.

0 Kudos
Nick_F_2
New Contributor III
968 Views

OK Paul, thanks for the heads up.

0 Kudos
Reply