wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.04k stars 2.67k forks source link

`passedProps` are never passed on `Navigation.setRoot` when `bottomTabs` are provided #7153

Open bertrand-caron opened 3 years ago

bertrand-caron commented 3 years ago

🐛 Bug Report

passedProps are never passed on Navigation.setRoot when bottomTabs are provided

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

I am working on a minimal reproducible example, but I was trying to understand why my passedProps were never reaching my component, and discovered that the acts of passing some bottomTabs to Navigation.setRoot prevents passedProps from ever reaching the component.

Expected behavior

passedProps are available in the component, even when bottomTabs are provided.

Actual Behavior

passedProps are not available (only contains the componentId) when bottomTabs are provided

Your Environment

Reproducible Demo

(Working on this)

shadow-boy commented 3 years ago

same question. Can anyone help