Long delay to change view on button click

4 posts, 0 answers
  1. Fernando
    Fernando avatar
    3 posts
    Member since:
    Jan 2013

    Posted 22 Jan 2013 Link to this post

    Hi! 
    I am a new kendo mobile developer, and i am having some issues when navigating at my mobile app, specially when I deploy to an iOS 5 device.

    I have a single page, named index.html, where I put 3 views. Each view is called after a button click. I am using 'button' at data-role attribute and "#view" at href attribute. It works fine at most browsers and iPad simulator. But, when I deploy to an iPad device running iOS 5, the first button tap takes a long time to change the view. After the first tap, the action works fine. What is more interesting is that, when I deploy to a device running iOS 6, everything works fine.

    What could be happening? Is there something to do to avoid this delay at the first button tap?
  2. Fernando
    Fernando avatar
    3 posts
    Member since:
    Jan 2013

    Posted 22 Jan 2013 Link to this post

    Update:

    the view that is called uses a data-init attribute and data-layout="databinding", to load data from a server. the data-init attribute could be the reason of the first tap delay?

    Best,

    Fernando
  3. Kendo UI is VS 2017 Ready
  4. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 23 Jan 2013 Link to this post

    Hello Fernando,

    I am not sure where the problem comes from. Could you please provide a small example that isolates the issue so I can test it on our side? In this way I would be able to investigate what is going wrong and provide you with a concrete recommendations.
    Thank you in advance for your time and cooperation.

    Regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Fernando
    Fernando avatar
    3 posts
    Member since:
    Jan 2013

    Posted 23 Jan 2013 Link to this post

    Hello Alexander! Thanks for your reply

    Actually, I've already solved my problem. The target view had a large background-image (for than 400 kb). Then, when this view was called, the app stoped responding waiting the image to be loaded for the first time. I simply used other image (less than 40 kb), and it worked fine.
Back to Top
Kendo UI is VS 2017 Ready