ScrollView strange behavior

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Jun 2014

    Posted 28 Aug 2014 Link to this post

    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.



  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2877 posts

    Posted 01 Sep 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top