xamarin/Xamarin.Forms

[Bug] Material Entry TextColor does not update correctly

Aperta

#6571 aperta il 18 giu 2019

 (0 commenti) (6 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/visuale/2 :clock2:good first issuehackathonhelp wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor