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

ScrollView strange behavior

1 Answer 73 Views
ScrollView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 28 Aug 2014, 02:05 PM
Hi,

I'm trying to implement a gallery feature - the pictures are displayed in a ScrollView and a click on the "Detailview" Button openes a Modalview which contains another Scrollview that is dynamically populated.

It works fine but I've problems with the second page of the ScrollView within the ModalView. It doesn't display the image but all other pages are working.

The strange thing is that this behavior only occurs in certain situations

- If I access the first page the second page is missing (not showing a picture) - all other pages are displayed correctly
- If I access the second page the picture is shown correctly but I can't scroll to the right side (as if there were no more items left) - A scroll to the left page resets the behaviour and all pictures can be scrolled correctly afterwards.
- If I access a page higher than the second one everything works as expected.

To see the described behavior you may find my example here: http://jsbin.com/pocumu/4/edit

I'm really puzzled why this behavior occurs - any help is appreciated.



1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 01 Sep 2014, 02:34 PM
Hi Michael,

Thank you for contacting us.

I assume that the issue you described is related to this bug in the ScrollView widget. The issue is already fixed and the fix will be published in the next Service Pack release which will be uploaded till the end of this week. Please wait until the Service Pack build is published, download it and test your application with it.

On a side note, is it necessary to change the ScrollView DataSource every time the details button is clicked? It seems that the extractPicturesFromGalleryScrollView always returns the same data items set.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ScrollView (Mobile)
Asked by
Michael
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or