react-navigation / react-navigation/react-navigation
Glitchy Keyboard within gestureResponseDistance
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 24.5k
- Forks
- 5.1k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 18
Description
Current behavior
The Android Keyboard glitches when tapping or scrolling in the area that gestureResponseDistance (property of the screenOptions of createStackNavigator) encloses.
Expected behavior
no glitches
(on ios everything works fine)
Is anyone else experiencing this?
Reproduction
in a stacknavigator, set animationEnabled: true, gestureResponseDistance: to a sufficiently high value such that it will interfere with a scroll or tap interaction and lastly choose the Transition preset SlideFromRightIOS. In the View you'll just need a textinput
Platform
- Android
- iOS
- Web
- Windows
- MacOS
Packages
- @react-navigation/bottom-tabs
- @react-navigation/drawer
- @react-navigation/material-bottom-tabs
- @react-navigation/material-top-tabs
- @react-navigation/stack
- @react-navigation/native-stack
Environment
| package | version |
|---|---|
| @react-navigation/native | 5.9.8 |
| @react-navigation/bottom-tabs | 5.11.11 |
| @react-navigation/stack | 5.14.9 |
| react-native-safe-area-context | 3.2.0 |
| react-native-screens | 3.4.0 |
| react-native-gesture-handler | 1.10.2 |
| react-native-reanimated | 2.2.0 |
| react-native-tab-view | 3.1.1 |
| react-native | https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz |
| expo | 42.0.0 |
| node | 12.18.2 |
| npm or yarn | npm |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in an Android stack navigator using animationEnabled, a high gestureResponseDistance, the SlideFromRightIOS transition, and a TextInput. Start by tracing gesture handling in @react-navigation/stack and verify that tapping or scrolling within the gesture area no longer glitches while iOS behavior remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100