xamarin/Xamarin.Forms

[Bug] Material Entry TextColor does not update correctly

Ouverte

#6 571 ouverte le 18 juin 2019

 (0 commentaire) (6 réactions) (0 personne assignée)C# (1 926 forks)batch import
a/visuale/2 :clock2:good first issuehackathonhelp wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur