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: flicker when sensitive text field is on screen #270

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

ioannisj
Copy link
Contributor

@ioannisj ioannisj commented Dec 4, 2024

💡 Motivation and Context

See: PostHog/posthog-react-native-session-replay#17

In an attempt to avoid capturing a screenshot during screen transitions we enabled capturing a snapshot after screen updates #265. However, this causes the screen to flicker since iOS will hide secure text fields and keyboard when drawing the view hierarchy.

Let's revert this change for now

💚 How did you test it?

Sample app

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@ioannisj ioannisj merged commit afcefab into main Dec 4, 2024
6 checks passed
@ioannisj ioannisj deleted the fix/flickering-keyboard-on-snapshot branch December 4, 2024 08:36
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