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 crash on macos when using Layout Animations #6600

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

Latropos
Copy link
Contributor

@Latropos Latropos commented Oct 16, 2024

Summary

Previously we were passing a window to function convertPoint, that accepts only view. It was causing a crash, therefore we should pass the contentView of the window.

Test plan

Tested on several examples:

  • Olympic example
  • [LA] Basic Layout Animation
  • [LA] Entering and Exiting with Layout
  • [LA] Carousel

Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

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

👏

@Latropos Latropos marked this pull request as ready for review October 16, 2024 11:28
@Latropos Latropos added this pull request to the merge queue Oct 16, 2024
Merged via the queue into main with commit ae9702e Oct 16, 2024
13 checks passed
@Latropos Latropos deleted the acynk/fix-layout-crash-macos branch October 16, 2024 11:28
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.

2 participants