Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] [Andoid] [iOS] Setter incorrectly changes property value (color) from a dynamic resource #15836

Open
JustickDM opened this issue Nov 15, 2023 · 0 comments
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@JustickDM
Copy link
Contributor

JustickDM commented Nov 15, 2023

Description

Setter incorrectly changes property value (color) from a dynamic resource
This error may affect all Triggers and VisualStateManager
Maybe same - #7068

Steps to Reproduce

  1. Run a sample
  2. Click on button

Expected Behavior

Changing the color

Actual Behavior

The color does not change

Basic Information

  • Version with issue: Last
  • Last known good version: No

Screenshots

  1. After run the program
    image
  2. After first click on button
    image
  3. After second click on button
    image
  4. After third click on button
    image

Reproduction Link

https://github.com/JustickDM/SetterBug

Workaround

No, but I think the problem is with this method
https://github.com/xamarin/Xamarin.Forms/blob/5.0.0/Xamarin.Forms.Core/Setter.cs#L89

@JustickDM JustickDM added s/unverified New report that has yet to be verified t/bug 🐛 labels Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

1 participant