Listview goes to top on orientation change?

4 posts, 0 answers
  1. Jack
    Jack avatar
    6 posts
    Member since:
    Aug 2013

    Posted 02 Sep 2013 Link to this post

    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?
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 03 Sep 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Jack
    Jack avatar
    6 posts
    Member since:
    Aug 2013

    Posted 04 Sep 2013 Link to this post

    How then do other custom scroll libraries do this, such as iScroll.js or Gmail mobile?
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 06 Sep 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready