react-navigation / react-navigation/react-navigation

React native tab view(v3.5.2) doesn't work with react native windows version(v0.70.19)

Open
#11,497 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug package:react-native-tab-view platform:windows repro provided
Dominant language
TypeScript
Stars
24.5k
Forks
5.1k
Avg merge
1d 5h
Merged PRs (30d)
18

Description

Current behavior

It doesn't support multiple routes. If we pass more than one route, It gives below error.
For single route, it works fine.

image

Expected behavior

React native tab view should work with more than one route.

Reproduction

Didn't find react native windows playground to reproduce

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
@react-navigation/bottom-tabs
@react-navigation/drawer
@react-navigation/material-top-tabs
@react-navigation/stack
@react-navigation/native-stack
react-native-safe-area-context
react-native-screens
react-native-gesture-handler
react-native-reanimated
react-native-tab-view
react-native-pager-view
react-native
expo
node
npm or yarn

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

No repository file, test, or complete package-version matrix is provided. First establish a Windows reproduction with react-native-tab-view v3.5.2, React Native 0.70.19, and multiple routes; then locate the affected tab-view path and add a regression test. Done means multiple routes render on Windows without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.