ListView hang after opening external link on native browser

3 posts, 0 answers
  1. Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 19 Feb 2013 Link to this post

    In a ListView, a script to open an external link by native browser is called when a link is clicked. 

    On Android:,  { openExternal:true } );
    On iOS:, '_system');

    The link can be opened on the corresponding native browser. 

    When the user try to switch back to the app, some problems happen after that. 

    On Android, the screen hung on the original view, when the back button is pressed again, the screen is un-freezed and can be refreshed.

    On iOS, however, the screen is also hung on the original view. When tapped on the screen, the complete view (with the layout) is moved. There is no way to un-freeze this screen.

    How to fix this so that the screen can be un-frezzed after switching back from the native browser to the app?

    Thank you very much for your help.
  2. Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 20 Feb 2013 Link to this post

    After changing the original <a> DOM to <span>, everythings work as expected. 
    But still want to have an answer about this issue.
  3. Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 21 Feb 2013 Link to this post

    Hello Ralph,

    I tried to reproduce the behaviour that you described on iPhone and phone with Android 4.1.2 but to no avail. Here is the code that I used:
    function onClick() {
        if ( {
  "", { openExternal:true } );
        if ( {
  "", '_system');
    <div id="home" data-role="view" data-title="home">
        <ul id="listview" data-role="listview" data-style="inset">
            <li>item 1</li>
            <li>item 2</li>
            <li>item 3</li>
        <a data-role="button" data-click="onClick">Open</a>

    Could you please provide more details or if possible a sample project? Which iOS and Android version you use for testing? What triggers the function that opens the external link?

    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!
Back to Top