xamarin/Xamarin.Forms
[Bug] ListView with RecycleElement truncates right aligned labels on Android
Aperta
#7844 aperta il 6 ott 2019
a/layouta/listviewe/4 :clock4:help wantedp/Androidt/bug :bug:up-for-grabs
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Description
ListView with caching strategy RecycleElement and right aligned labels randomly truncates labels on Android after upgrade to XF 4.x
Steps to Reproduce
- Add a ListView with CachingStrategy=RecycleElement;
- Within DataTemplate use a label with HorizontalOptions=End;
- Add hundreds of items to the list and scroll up and down actively.
Using HorizontalTextAlignment=End resolves the issue but good to have HorizontalOptions=End fixed for consistency with iOS.
Expected Behavior
Labels are not truncated
Actual Behavior
Labels are randomly truncated
Basic Information
- Version with issue: XF 4.x
- Last known good version: XF 3.6.x
- IDE: VS2019 16.3.2
- Platform Target Frameworks:
- Android: 10.0.0.43
Screenshots
Reproduction Link
https://github.com/VitalyKnyazev/LayoutIssue
Related issues #6297 and #6370