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 has color to use maui context on passed in view #19682

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Jan 3, 2024

Description of Change

On windows the has color check needs to attach the view under test to the visual tree in order to validate the color. If the view has already been attached to the window then AttachAndRun needs to be smart enough to use the already opened window. This PR make sure that the HasColor check will use the correct MauiContext for the passed in view so it can retrieve the already open window.

@PureWeen PureWeen marked this pull request as ready for review January 3, 2024 19:35
@PureWeen PureWeen requested a review from a team as a code owner January 3, 2024 19:35
@rmarinho rmarinho merged commit 5feab14 into main Jan 3, 2024
47 checks passed
@rmarinho rmarinho deleted the fix_flyoutbackground_test branch January 3, 2024 22:55
@samhouts samhouts added the area-testing Unit tests, device tests label Jan 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants