Skip to content

Detect MauiCALayer being rendered offscreen#23648

Merged
PureWeen merged 1 commit into
dotnet:mainfrom
albyrock87:issue-23070
Jul 17, 2024
Merged

Detect MauiCALayer being rendered offscreen#23648
PureWeen merged 1 commit into
dotnet:mainfrom
albyrock87:issue-23070

Conversation

@albyrock87

@albyrock87 albyrock87 commented Jul 17, 2024

Copy link
Copy Markdown
Contributor

Description of Change

If the super layer's frame is zero, indicating an off-screen rendering scenario, the bounds are intentionally kept at zero to avoid incorrect initial drawing caused by bounds matching the screen size.

Before fix
Simulator Screen Recording - iPhone 15 Pro Max - 2024-07-17 at 12 15 44

After fix

Simulator Screen Recording - iPhone 15 Pro Max - 2024-07-17 at 11 53 37

Issues Fixed

Fixes #23070

@albyrock87 albyrock87 requested a review from a team as a code owner July 17, 2024 10:16
@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label Jul 17, 2024
@mattleibow

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen

Copy link
Copy Markdown
Member

Failing test unrelated

@PureWeen PureWeen merged commit a5a3e1e into dotnet:main Jul 17, 2024
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-8.0.80 and removed fixed-in-net9.0-nightly This may be available in a nightly release! labels Aug 2, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution fixed-in-8.0.80 fixed-in-net9.0-nightly This may be available in a nightly release!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Border on iOS redraws with 1 frame lag, creating flashes of (1) square corners on redraws, and (2) old background color before new color update

4 participants