Skip to content

fix: disable CA animations during modal presentation#7

Open
SzymczakJ wants to merge 1 commit intodiscord-4.23.0from
fix/modal-presentation-debug
Open

fix: disable CA animations during modal presentation#7
SzymczakJ wants to merge 1 commit intodiscord-4.23.0from
fix/modal-presentation-debug

Conversation

@SzymczakJ
Copy link
Copy Markdown

Summary

  • Adds a static flag _rnsModalPresentationInProgress to track when a modal is being presented
  • Disables CoreAnimation actions (CATransaction setDisableActions:YES) during mounting transactions while a modal presentation is in progress, preventing unintended animation artifacts
  • Adds debug logging ([kubson] prefix) to trace modal presentation lifecycle and mounting transaction timing

Test plan

  • Build and run the app on iOS
  • Present a modal and observe console logs for [kubson] entries
  • Verify no unintended animations occur during modal presentation mounting transactions

🤖 Generated with Claude Code

…ation

Add logging to track modal presentation lifecycle and disable CoreAnimation
actions during mounting transactions when a modal presentation is in progress
to prevent unintended animation artifacts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant