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

Android - TreeView item expand issue / bug

4 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 02 Oct 2018, 12:06 PM

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

4 Answers, 1 is accepted

Sort by
0
Martin
Top achievements
Rank 1
answered on 02 Oct 2018, 12:23 PM
Sorry, I meant ExpandCollapseIndicator HorizontalTextAlignment stands on Center.
0
Didi
Telerik team
answered on 04 Oct 2018, 12:18 PM
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
0
Martin
Top achievements
Rank 1
answered on 05 Oct 2018, 08:34 AM
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
0
Didi
Telerik team
answered on 08 Oct 2018, 01:01 PM
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
Asked by
Martin
Top achievements
Rank 1
Answers by
Martin
Top achievements
Rank 1
Didi
Telerik team
Share this question
or