Android - TreeView item expand issue / bug

5 posts, 0 answers
  1. Martin
    Martin avatar
    18 posts
    Member since:
    Oct 2018

    Posted 02 Oct 2018 Link to this post

    After expanding a parent TreeView item, the arrows of subitems are misplaced. The arrow is not centered anymore, although the ExpandCollapseIndicator VerticalTextAlignment stands on Center. After expanding the subitem the arrow jumps to center again.

    Tested in Android emulator with Android 8.1 and real Samsung Galaxy Tab SM-T580 with Android 7.0.

    Replicable on Telerik sample application:
    Xamarin Forms UI sample application -> QSF -> Examples -> TreeView    (see attached files)

    The (example) test in the sample application is as follows:

    collapse France
    collapse Europe
    expand Europe
    collapse Europe
    expand Europe
    France arrow is misplaced -> too far left
    expand France -> arrow jumpes to center again

     

    regards,

    Martin

  2. Martin
    Martin avatar
    18 posts
    Member since:
    Oct 2018

    Posted 02 Oct 2018 in reply to Martin Link to this post

    Sorry, I meant ExpandCollapseIndicator HorizontalTextAlignment stands on Center.
  3. Didi
    Admin
    Didi avatar
    356 posts

    Posted 04 Oct 2018 Link to this post

    Hi Martin,

    Thank you for the images.

    I have tested the described scenario on Android emulator with Android 8.1 and Samsung device with Android 7.0 but I could not reproduce the issue. I have recorded a video following the steps for reproducing the issue but the expand/collapse indicator place is as expected. 

    Let me know if you have any other questions or concerns.

    Regards,
    Didi
    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
  4. Martin
    Martin avatar
    18 posts
    Member since:
    Oct 2018

    Posted 05 Oct 2018 in reply to Didi Link to this post

    Hi Didi,

    I watched your video, thank you for your effort. I freshly downloaded the QSF example application from

    https://github.com/telerik/telerik-xamarin-forms-samples

    to reprocude the error again. I did no updates on NuGet in the solution, just unloaded the iOS und UWP project.

    The error is still there. Maybe you have to collapse and expand Europe more often to get it happening.

    1. collapse France
    2. collapse Europe
    3. expand Europe
    4. collapse Europe
    5. expand Europe
    ... continue up to ten times, until France or any other subitem is misplaced too far left.



    regards,

    Martin
  5. Didi
    Admin
    Didi avatar
    356 posts

    Posted 08 Oct 2018 Link to this post

    Hi Martin,

    Thank you for the detailed explanation.

    I have reproduced the issue on my side and we will provide a fix for it with the upcoming service pack - scheduled for 17th this month. I have modified the CustomizationView.xaml file from the TreeView Customization example with all changes needed. Please replace the content of the CustomizationView.xaml file with the attached one and let me know if you continue getting this error.

    Looking forward to your reply.

    Regards,
    Didi
    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