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 border lagging and unwanted animations on iOS #24360

Merged
merged 4 commits into from
Sep 7, 2024

Conversation

albyrock87
Copy link
Contributor

@albyrock87 albyrock87 commented Aug 21, 2024

Description of Change

Fixes border animations by simply overriding the AddAnimation method and make it a noop.

We can therefore get rid of the CATransaction code and simply relay on the fact that our layers will not animate.

I really hope this is the last time we fix this :D

Before

before

After

Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-08-21.at.18.12.33.mp4

Issues Fixed

Fixes #24104
Fixes #21643 (confirmed #21643 (comment))
Fixes #23688 (confirmed #23688 (comment))

@albyrock87 albyrock87 requested a review from a team as a code owner August 21, 2024 16:08
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Aug 21, 2024
Copy link
Contributor

Hey there @albyrock87! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@samhouts samhouts added the area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing label Aug 28, 2024
@PureWeen
Copy link
Member

PureWeen commented Sep 6, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen merged commit 2c7458e into dotnet:main Sep 7, 2024
97 checks passed
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Oct 1, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.2.24503.2 and removed fixed-in-net9.0-nightly This may be available in a nightly release! labels Oct 14, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing community ✨ Community Contribution fixed-in-9.0.0-rc.2.24503.2
Projects
None yet
4 participants