xamarin/Xamarin.Forms

Item height of the listview is not auto size when load image with aspect fill

开放

#5,748 创建于 2019年3月29日

 (2 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewe/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

Row height of the listview is not updated when load image inside the item template of the listview with Aspect as AspectFill.

Same issue replicated in SFListVIew also.

Steps to Reproduce

  1. Run the sample and navigate to Xamarin ListView
  2. You can see that the row height is not properly calculated and image is not shown properly.

Expected Behavior

Image should visible with proper height.

Actual Behavior

Image is clipped

Basic Information

  • Version with issue: 3.5.0.169047
  • Last known good version:
  • IDE: VS2017
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Screenshot_20190329-174439

Reproduction Link

Sample.zip

贡献者指南