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

Long delay to change view on button click

3 Answers 181 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 22 Jan 2013, 05:11 PM
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?

3 Answers, 1 is accepted

Sort by
0
Fernando
Top achievements
Rank 1
answered on 22 Jan 2013, 06:06 PM
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
0
Alexander Valchev
Telerik team
answered on 23 Jan 2013, 03:47 PM
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!
0
Fernando
Top achievements
Rank 1
answered on 23 Jan 2013, 07:14 PM
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.
Tags
Button (Mobile)
Asked by
Fernando
Top achievements
Rank 1
Answers by
Fernando
Top achievements
Rank 1
Alexander Valchev
Telerik team
Share this question
or