react-navigation / react-navigation/react-navigation
Poor performance on Android 13 and above (re-render?) on standalone bundle
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
Flickering of the tab selector (material-top-tabs) and the opaque background of the Modal component, delay in touch events (Pressable) and when moving through the screens, …
Expected behavior
Fluid render as in Android 11 and earlier.
Reproduction
https://snack.expo.dev/@lya2/navigation-demo
Platform
- Android
- iOS
- Web
- Windows
- MacOS
Packages
- @react-navigation/bottom-tabs
- @react-navigation/drawer
- @react-navigation/material-top-tabs
- @react-navigation/stack
- @react-navigation/native-stack
- react-native-tab-view
Environment
- [] I've removed the packages that I don't use
| package | version |
|---|---|
| @react-navigation/native | 6.1.8 |
| @react-navigation/bottom-tabs | 6.5.9 |
| @react-navigation/drawer | 6.6.4 |
| @react-navigation/material-top-tabs | 6.6.4 |
| @react-navigation/stack | – |
| @react-navigation/native-stack | 6.9.14 |
| react-native-safe-area-context | 4.6.3 |
| react-native-screens | 3.22.0 |
| react-native-gesture-handler | 2.12.0 |
| react-native-reanimated | 3.3.0 |
| react-native-tab-view | 3.5.2 |
| react-native-pager-view | 6.2.2 |
| react-native | 0.72.4 |
| expo | 49.0.0 |
| node | 14.21.3 |
| npm or yarn | 6.14.18 |
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
Start with the linked Snack reproduction on Android 13 or above and compare its behavior with Android 11. Review the listed navigation, tab-view, screens, gesture-handler, and reanimated packages to isolate the source of the flickering, opaque modal background, and delayed touch events. Done means the standalone bundle renders and responds fluidly on newer Android versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100