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

Text Flickering While Typing #495

Open
MS0015 opened this issue Aug 30, 2023 · 2 comments
Open

Text Flickering While Typing #495

MS0015 opened this issue Aug 30, 2023 · 2 comments

Comments

@MS0015
Copy link

MS0015 commented Aug 30, 2023

When I use the react-native-modalize library to display a modal that contains a TextInput component and I start typing text into the TextInput, I notice that the entered text intermittently flickers or disappears briefly. This behavior is distracting and negatively affects the user experience.

Expected Behavior:
The entered text should remain stable and visible within the TextInput as I type, without any flickering or disappearing.

Actual Behavior:
The entered text within the TextInput flickers or disappears momentarily while typing, making the text input experience jarring and unpleasant.

Reproduce
https://github.com/jeremybarbet/react-native-modalize/assets/34243617/6ca520bd-9c8e-407e-9652-b539a2be1ede

Dependencies:

  • react-native-modalize [2.1.1]
  • react-native [0.70.6]
  • react-native-gesture-handler [2.8.0]
@ajlee4
Copy link

ajlee4 commented Oct 18, 2023

have you been able to solve this problem?

@slauzinho
Copy link

Having the same issue, removing multiLine from the TextInput stops the issue from happening.

If we add a console.log on the onChangeText it looks like it gets called a bunch of times when typing a single char

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

No branches or pull requests

3 participants