Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converters on VisualStates won't be triggered more than once #12556

Closed
eriklimakc opened this issue Jun 6, 2023 · 0 comments · Fixed by #12725
Closed

Converters on VisualStates won't be triggered more than once #12556

eriklimakc opened this issue Jun 6, 2023 · 0 comments · Fixed by #12725
Assignees
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@eriklimakc
Copy link
Contributor

eriklimakc commented Jun 6, 2023

Current behavior

Works on Windows, but it doesn't work on other platforms.

When having a converter in a VisualState, the converter is only triggered once for each state. It seems like once it is triggered it won't trigger anymore for that state.

Expected behavior

The converter should be triggered everytime a VisualState is "invoked".

How to reproduce it (as minimally and precisely as possible)

Repro:
Converter.zip

Open the solution, and add a breakpoint on FromTextBoxEmptyConverter Converter method and run it on Windows to see expected behavior and then run on other platforms to see the current behavior.

Tested on Android, GTK and WASM.

Workaround

No response

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@eriklimakc eriklimakc added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jun 6, 2023
@eriklimakc eriklimakc changed the title Converters on VisualStates won't be trigged more than once Converters on VisualStates won't be triggered more than once Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants