xamarin/Xamarin.Forms

VisualStateManager not applying TextColor on Entry with Visual/Material applied

开放

#5,714 创建于 2019年3月27日

 (3 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/visuale/5 :clock5:help wantedinactivet/bug :bug:up-for-grabs

仓库指标

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

描述

Description

VisualStateManager is not working properly for VisualStates declared in an Entry with Visual="Material" applied. This issue only affects iOS.

Steps to Reproduce

  1. Create a Page with an Entry
  2. Setup the Entry to use Material Visual
  3. Create custom Visual States with setters that changes the TextColor property
  4. Implement some login to change between the defined Visual States

Expected Behavior

When changing to a new Visual State, the correct color should be applied to the TextColor Property.

Actual Behavior

The application of the TextColor Setter property behaves inconsistently between states. I could check on debugging that the property has changed, but not applied on screen.

Basic Information

  • Version with issue: 3.6.0264807
  • Last known good version: No previous history
  • IDE: Visual Studio for Mac 2019
  • Platform Target Frameworks:
    • iOS: 12.1
  • Nuget Packages: Xamarin.Forms, Xamarin.Forms.Visual.Material
  • Affected Devices: all

贡献者指南