callstack / callstack/react-native-paper

Delay Screen Navigation when using TextInput

Open
#3,601 12 comments 7 reactions 0 assignees View on GitHub
BottomNavigation bug TextInput
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

### Current behaviour
When navigating **screen B** from **Screen A**. **Screen B** has some text inputs (even single input). When pressing a button on **Screen A**, **Screen A** gets stuck for some seconds (e.g 2 sec). Screen navigation starts after some seconds(e.g 2 sec)
When I experiment with React Native text input, I didn't face such delays.

This behaviour can be seen in react-native-paper [snack example ](https://snack.expo.dev/@react-native-paper/react-native-paper-example_v5)

### Expected behaviour
There will be no such delay in screen navigation.

### How to reproduce?
This behaviour can be seen in react-native-paper [snack example ](https://snack.expo.dev/@react-native-paper/react-native-paper-example_v5)

### Your Environment

| software | version
| --------------------- | -------
| react-native | 0.71.0
| react-native-paper | 5.1.3
| node | 18.13.0
| yarn | 1.22.18

Video Recording:

https://user-images.githubusercontent.com/57723965/213628786-0805a728-2a46-496c-9e68-d25031c86fac.mp4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.