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

fix: Fix UWP activating too soon #1930

Merged
merged 2 commits into from Jan 25, 2019
Merged

Conversation

glennawatson
Copy link
Contributor

UWP had special logic where it would use loading instead of Load for performance reasons, and then wait for IsHitTestVisible. This would cause problems with certain use cases in WPF.

Now splitting the two ActivationForViewFetcher class into their own classes with the required logic.

This fixes #1928

@glennawatson glennawatson requested review from a team January 25, 2019 05:09
Copy link
Contributor

@elipriaulx elipriaulx left a comment

Choose a reason for hiding this comment

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

👌... Although I am not keen on those magic numbers...

@codecov
Copy link

codecov bot commented Jan 25, 2019

Codecov Report

Merging #1930 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1930   +/-   ##
======================================
  Coverage    64.4%   64.4%           
======================================
  Files          99      99           
  Lines        3574    3574           
  Branches      899     899           
======================================
  Hits         2302    2302           
  Misses       1140    1140           
  Partials      132     132
Impacted Files Coverage Δ
src/ReactiveUI.Wpf/ActivationForViewFetcher.cs 85% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 829e702...29be8f0. Read the comment docs.

@glennawatson glennawatson merged commit 49de639 into master Jan 25, 2019
@delete-merged-branch delete-merged-branch bot deleted the glennawatson-ModelViewHostFixup branch January 25, 2019 05:26
glennawatson added a commit that referenced this pull request Mar 23, 2019
 
fix: Fix UWP activating too soon (#1930)
@lock lock bot locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ViewModelViewHost behaves different in 9.4.1 and 9.8.15
2 participants