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

Listview goes to top on orientation change?

3 Answers 94 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 1
Jack asked on 02 Sep 2013, 07:51 PM
I like how the Kendo Mobile listview remembers its place during page transitions...this is something that jQuery mobile does NOT have.  What's weird, however, is when I change the orientation, if I have scrolled down a little on the listview, it will return me to the top of the page.  I am on the flat UI.  Is there any way to fix this?

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 03 Sep 2013, 07:54 AM
Hello Jack,

I am afraid that this behaviour is by design. This comes from the fact that when rotating the content change its width and height, which makes it impossible to calculate the current scroll position and place it on a correct position.

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jack
Top achievements
Rank 1
answered on 04 Sep 2013, 09:03 PM
How then do other custom scroll libraries do this, such as iScroll.js or Gmail mobile?
0
Kiril Nikolov
Telerik team
answered on 06 Sep 2013, 10:35 AM
Hello Jack,

We have not looked into the libraries that you mentioned. Could you please create some examples that we can look into? This would be very helpful.

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView (Mobile)
Asked by
Jack
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Jack
Top achievements
Rank 1
Share this question
or