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

Screen glitching on iOS Fabric #519

Open
TheKohan opened this issue Oct 16, 2024 · 0 comments
Open

Screen glitching on iOS Fabric #519

TheKohan opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TheKohan
Copy link
Contributor

Description:

I'm experiencing a glitch with the MarkdownTextInput component when it's used within a ScrollView that is embedded using native-stack navigation. This issue occurs on React Native version 0.75.4 using the new architecture (Fabric). Importantly, the issue does not occur when using normal stack navigation and is not reproducible on Android (sim).

Screen.Recording.2024-10-16.at.09.48.35.mov

Steps to Reproduce:

  1. Use MarkdownTextInput within a ScrollView
  2. Embed the ScrollView using native-stack navigation
  3. Put focus on the MarkdownTextInput when it's outside of view initially (needs to be scrolled down to)

Expected Behavior:

The MarkdownTextInput should function smoothly without any visual glitches when focused.

Actual Behavior:

The MarkdownTextInput glitches when it receives focus.

Environment:

  • React Native Version: 0.75.4
  • Architecture: New Architecture (Fabric)
  • Navigation: Native Stack Navigation
  • Device/Simulator: iPhone 16 Pro
  • OS Version: iOS 18

Reproduction Repository:

I have created a reproduction of this issue in the following repository:
https://github.com/TheKohan/rn-lm-fabric-repro

Additional Information:

  • The issue only occurs when using native-stack navigation. With normal stack navigation, the MarkdownTextInput works fine.
@tomekzaw tomekzaw added the bug Something isn't working label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants