KEMBAR78
[X] Properly restore styleValue after ClearValue by StephaneDelcroix · Pull Request #6379 · dotnet/maui · GitHub
Skip to content

Conversation

@StephaneDelcroix
Copy link
Contributor

Description of Change

Some values from DynamicResource set from Style weren't cached, and we
had no value to fallback to after a ClearValue. This fixes the issue.

Some values from DynamicResource set from Style weren't cached, and we
had no value to fallback to after a ClearValue. This fixes the issue.

- fixes #4617

[Test]
//https://github.com/dotnet/maui/issues/4617
public void ClearValueShouldntUnapplyStyles()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@PureWeen PureWeen merged commit 18f1cc9 into main Apr 22, 2022
@PureWeen PureWeen deleted the fix_4617 branch April 22, 2022 12:06
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2023
@samhouts samhouts added the fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clearing BindableProperty causes styles properties to disappear

5 participants