Last Cell of ListView Cutoff?

4 posts, 0 answers
  1. Trevor
    Trevor avatar
    22 posts
    Member since:
    Feb 2017

    Posted 04 Aug 2017 Link to this post

    I have this Xaml definition here and no matter how much padding to the bottom I put, the ListView doesn't move up. Half of the last cell in the ListView is cutoff, and I am not sure why. I tried this exact Xaml definition, but just swapped the RadListView out for a native ListView, and the problem was resolved. Why is this?? This is what I am seeing.

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 09 Aug 2017 Link to this post

    Hello Trevor,

    As the number of items you have within the ListView exceeds the available space of the control, it would be expected that the last item is not fully shown and you need to scroll in order to fully expose it and all other items beneath it. If you would like to initially show a specific view and not cut an item, you can consider adding a specific Height to the ListView cell or change the height of the ListView itself so that it exactly fits a number of items. 

    As I might be missing something, can you share a screenshot of how the native control behaves in your exact setup? Actually, providing a sample application will be appreciated.

    Regards,
    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Trevor
    Trevor avatar
    22 posts
    Member since:
    Feb 2017

    Posted 09 Aug 2017 in reply to Stefan Nenchev Link to this post

    In my screenshot, the list is scrolled all the way down, and if you force scroll it a little further, you can see the whole thing. This is definitely an issue with RadListView, because if I change out my exact code, with a native ListView, it works perfectly fine. I shouldnt have to specify an exact height of a ListView. A screenshot of the native implementation can be found here.
  4. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 14 Aug 2017 Link to this post

    Hello Trevor,

    It seems to me that the issue is caused by the overall structure at your end and how the parent elements are arranged. Putting the RadListView within a Grid element instead of a ContentView does not cause the last item to be cut off. Please have a look at the attached sample. Would replacing the elements work for you?

    Have a great week.

    Regards,
    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top