Skip to content

Remove support of Canvas Layers on iOS #1680

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

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

ASalavei
Copy link

@ASalavei ASalavei commented Nov 4, 2024

Fixes https://youtrack.jetbrains.com/issue/CMP-6600/Remove-support-of-CanvasLayers-on-iOS

Release Notes

Breaking Changes - iOS

  • Remove obsolete Canvas Layers mode on iOS

}
if (keyboardOverlapHeight != height) {
animateKeyboardOffsetChanges = false
keyboardOverlapHeight = height
Copy link
Member

Choose a reason for hiding this comment

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

Previously it wasn't under the condition. Looks suspicious. Let's avoid introducing unrelated changes.

Copy link
Author

@ASalavei ASalavei Nov 5, 2024

Choose a reason for hiding this comment

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

It is code optimisation. Should be like this.

@@ -345,7 +336,7 @@ internal class ComposeSceneMediator(
val hasInvalidations: Boolean
get() = scene.hasInvalidations() || keyboardManager.isAnimating

private fun hitTestInteropView(point: CValue<CGPoint>, event: UIEvent?): UIView? =
Copy link
Member

Choose a reason for hiding this comment

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

Please revert unrelated changes

Copy link
Author

Choose a reason for hiding this comment

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

That was an attempt to fix warnings in the file. Reverted.

@ASalavei ASalavei merged commit 7b987ec into jb-main Nov 7, 2024
7 checks passed
@ASalavei ASalavei deleted the andrei.salavei/remove-canvas-layers branch November 7, 2024 14:25
@igordmn
Copy link
Collaborator

igordmn commented Feb 7, 2025

Changed to "Breaking Changes"

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

Successfully merging this pull request may close these issues.

4 participants