2 issues with fixed height

6 posts, 1 answers
  1. Claude
    Claude  avatar
    5 posts
    Member since:
    Apr 2013

    Posted 29 Jan 2015 Link to this post

    The smaller issue : When I use the "height" parameter when initializing the TreeList, it is ignored on my iPad on Safari with iOS 8. If I use the "height" css style instead, it works fine.


    The bigger issue : The TreeList sometimes stops displaying it's content. Here is how it happens :

    It happens only on my iPad and my Android tablet. I have a TreeList with a fixed height. I bind it to a dataSource containing a list long enough for the TreeList to have a scrollbar. I scroll down the list a little. Then, I change the content of the dataSource to something shorter. The TreeList refreshes and display an empty list. The TreeList knows it's not really empty because it doesn't show the usual "No records to display" message, and I can interact with the dataSource to check it's content.

    If I do not scroll before changing the dataSource's content, it works fine.

    Is that a bug or I'm doing something wrong?

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 02 Feb 2015 Link to this post

    Hello Claude,

    I could not reproduce the issues in this Dojo snippet. Please adjust it so that it shows the issue, so that we can determine what causes it.

    Regards,
    Alex Gyoshev
    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
  4. Claude
    Claude  avatar
    5 posts
    Member since:
    Apr 2013

    Posted 02 Feb 2015 in reply to Alex Gyoshev Link to this post


    http://dojo.telerik.com/@Claude%20Mercier/IsabE

    Here it is. I only bothered with the biggest issue. The problematic interaction seems to be when the treelist is within a window. I had to fake the "read" of the datasource to get the behavior I needed. The first time it loads your example list, the second time (when you press the "refresh" button) it loads an other array. This way, the treelist is forced to redraw the whole list.

    Thanks for the help!
  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 03 Feb 2015 Link to this post

    Hello Claude,

    Thank you for the sample. You can resolve the issue by adding the following style to the page:

    .k-grid-content { zoom: initial }

    We have added this bug fix for the next internal build. Here is the updated Dojo.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Claude
    Claude  avatar
    5 posts
    Member since:
    Apr 2013

    Posted 03 Feb 2015 in reply to Alex Gyoshev Link to this post

    I'm sorry, but that didn't resolve the problem. I run the dojo on both my tablets and the weird behavior is the same.I scroll down the first list, hit refresh, and I get an empty list instead of the second list.

    My first tablet is an iPad on iOS 8.1.2, using Safari.
    My second tablet is a Samsung on Android 4.4.2, using Chrome.

    Is there any other information I can provide to help?
  7. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 05 Feb 2015 Link to this post

    Hello Claude,

    Indeed, it appears that I have misguided you. The problem lies with the touch scroller that is used on mobile -- we have fixed it for the internal build that will be available later this week.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready