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

Loaded and Unloaded called out of order. #6381

Closed
1 of 2 tasks
HppZ opened this issue Nov 25, 2021 · 2 comments
Closed
1 of 2 tasks

Loaded and Unloaded called out of order. #6381

HppZ opened this issue Nov 25, 2021 · 2 comments

Comments

@HppZ
Copy link

HppZ commented Nov 25, 2021

Describe the bug

Loaded and Unloaded called out of order, which causes EventTriggerBehavior and InvokeCommandAction fail to work.

Steps to reproduce the bug

Bug.zip

Expected behavior

  1. EventTriggerBehavior and InvokeCommandAction shoud work.
  2. UnLoaded event should raise before Loaded event.

Screenshots

No response

NuGet package version

Microsoft.UI.Xaml 2.7.0

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

October 2020 Update (19042)

Additional context

No response

@azchohfi
Copy link
Contributor

Adding @evelynwu-msft.
I believe she might know more about this.
I've reported this issue a while ago, and it is already being tracked internally.

@evelynwu-msft
Copy link
Contributor

This is a long-standing issue in XAML; this comment from @MikeHillberg provides an explanation and workaround.

@ghost ghost removed the needs-triage Issue needs to be triaged by the area owners label Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants