xamarin/Xamarin.Forms

Xamarin.Forms ListView Issues with repro

开放

#3,510 创建于 2018年8月8日

 (2 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewe/5 :clock5:help wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

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

描述

Description

Since using Xamarin.Forms 3.1 I have noticed a few issues with listviews: Android: 1.0 I have a bound entry in a listview which is bound to a list of objects. one of the object property's is AlowProductCodeEdit which is attached to the IsEnabled property on the entry. AlowProductCodeEdit is set to false by default. When pressing the add button it creates a new instance of the object and adds it to the list setting AlowProductCodeEdit to true but on android you can't edit the entry. IOS works fine.

2.0 Maybe linked to above but if you delete an item in the list via a bound button the next item in the list entry field changes it's text colour from lightgray to black as if the field is editable again but it is not.

IOS: 1.0 having a MenuItem in the ViewCell.ContextActions breaks the automatic scrolling when you are at the bottom of the list (it doesn't scroll to where the cursor is focused) works fine on android.

Excuse the messy project (I have ripped most of the stuff out leaving only the required stuff to replicate)

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio 15.7.3
  • Platform Target Frameworks:
    • iOS: 11.4
    • Android: 8.1
  • Android Support Library Version: 27.0.2.1
  • Nuget Packages: Xamarin.Forms 3.1.0.697729
  • Affected Devices: Tested on Samsung Galaxy S9+ and IOS Sim

Reproduction Link

SalesOrders.zip

贡献者指南