react-navigation / react-navigation/react-navigation

Poor performance on Android 13 and above (re-render?) on standalone bundle

Open
#11,662 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug package:react-native-tab-view platform:android repro provided
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.