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

Kendo UI Mobile Scrollview bug?

3 Answers 43 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paulo
Top achievements
Rank 1
Paulo asked on 18 Aug 2014, 11:58 PM
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 

3 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 21 Aug 2014, 03:47 PM
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.

 
0
Paulo
Top achievements
Rank 1
answered on 22 Aug 2014, 03:21 AM
Hi Alexander

thanks for your reply!

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

Best regards
0
Alexander Valchev
Telerik team
answered on 22 Aug 2014, 08:50 AM
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.

 
Tags
HTML5, CSS, JavaScript
Asked by
Paulo
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Paulo
Top achievements
Rank 1
Share this question
or