Kendo UI Mobile Scrollview bug?

4 posts, 1 answers
  1. Paulo
    Paulo avatar
    6 posts
    Member since:
    Jul 2014

    Posted 18 Aug 2014 Link to this post

    Hi guys

    Im getting this weird behaviour from Scrollview.. look at this:

    http://dojo.telerik.com/OYOP/2

    If you go to view2, press "button", and then go back to view1 you'll see that content was not updated correctly.

    I spent an entire day trying to fix it without success. Anyone has any idea of how workaround it?

    Thanks in advance

    Paulo 
  2. Answer
    Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 21 Aug 2014 Link to this post

    Hi Paulo,

    Thank you for providing a sample which isolates the case.

    I can confirm that this is a bug in the ScrollView widget that occurs only when the widget is hidden at the time when the DataSource changes. We will log the issue and try fix it as soon as possible.
    Meanwhile as a temporary workaround I can suggest to avoid changing the DataSource while the widget is not visible. In this particular case you may change the DataSource at the afterShow event of the View. Please check the updated example: http://dojo.telerik.com/OYOP/5

    function onClick() {
       
      $("#view1").data("kendoMobileView").one("afterShow", function() {
        //change dataSource
        $("#scrollview").data("kendoMobileScrollView")
            .setDataSource([{foo: 4}, {foo: 5}]);
      });
         
    }


    Regards,
    Alexander Valchev
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Paulo
    Paulo avatar
    6 posts
    Member since:
    Jul 2014

    Posted 21 Aug 2014 in reply to Alexander Valchev Link to this post

    Hi Alexander

    thanks for your reply!

    One last question: is there a way to follow when this bug will be solved?

    Best regards
  4. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 22 Aug 2014 Link to this post

    Hello Paulo,

    Yes that is possible. Please use this link.

    Regards,
    Alexander Valchev
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top