xamarin/Xamarin.Forms

[Bug] Material Entry TextColor does not update correctly

开放

#6,571 创建于 2019年6月18日

 (0 条评论) (6 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/visuale/2 :clock2:good first issuehackathonhelp wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

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

描述

Description

When the TextColor of an Entry with the Material Visual applied is set, the change does not visually occur on the native control until another property (such as PlaceholderColor) is changed.

Steps to Reproduce

  1. Place an Entry with Visual=Material on a page.
  2. Change the value of the Entry's TextColor property to something other than Color.Default
  3. Change the value of the Entry's PlaceholderColor property to something other than Color.Default

Expected Behavior

Entry text color changes when TextColor property is set.

Actual Behavior

Entry text color does not update until the placeholder color is also updated.

Basic Information

  • Version with issue: Tested on 3.6.0.344457, 4.0.0.497661, 4.1.0.496342-pre2
  • Last known good version: None
  • IDE: Visual Studio Enterprise 2019
  • Platform Target Frameworks:
    • iOS: 12.2
    • Android: 9.0
  • Android Support Library Version: 28.0.0.1
  • Nuget Packages:
    • Xamarin.Forms
    • Xamarin.Forms.Visual.Material

Reproduction Link

MaterialEntryTextColor.zip

贡献者指南