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

Don't do performLayout async after all #277

Merged
merged 9 commits into from
Oct 15, 2024
Merged

Conversation

danqing
Copy link
Contributor

@danqing danqing commented Oct 15, 2024

I'll need to find a different fix for the main thread issue, but wrapping the whole performLayout call in dispatch main async can have some unintended consequences. This function is called in a bunch of places and because the async call is.. async, it essentially delays the completion block even when animate: false and thus callers that expect the block to be executed right away may get the wrong result.

@Kaspik Kaspik merged commit c7acd5f into nathantannar4:master Oct 15, 2024
2 checks passed
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