databound templated listview with external links

2 posts, 0 answers
  1. Gavin
    Gavin avatar
    8 posts
    Member since:
    Nov 2007

    Posted 30 Oct 2013 Link to this post

    Hi,

    We have a listview in kendo ui mobile using the flat theme bound to an array of items.
    Each item in the list has an external URL that needs to be opened when the item is clicked on.

    This works but the problem is that if the list is scrolled through the link that was touched opens as soon as the scrolling stops.
    It should not open the link when doing a scrolling action only from the tap.

    Other list views that navigate to internal views do not have this issue - the scrolling is just detected as a scroll action and the navigation is only done when the item is tapped.

    here is the data template for the list

    <script type="text/x-kendo-template" id="notificationListTemplate">

    <a class="faqListQuestion" href="${url}" data-rel="external" >${title}<br /><span class="notificationDates">${date}</span></a>

    </script>

    Is there something wrong with my template or some other workaround for this issue?

    Thanks
    Gavin

  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 04 Nov 2013 Link to this post

    Hi Gavin,

    It is not clear from your post where you observe the behavior you talk about - in the Icenium simulator, Icenium ION or when your app is deployed on actual device. As we have not been able to reproduce this in our local tests, can you elaborate on the problem? Also have you tried the alternative scrolling mechanism that Kendo UI offers for mobile devices and does it behave the same way?

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top