web-ridge / react-native-paper-tabs

Smooth and fast cross platform Material Design Tabs for React Native Paper
https://reactnativepapertabs.com
MIT License
189 stars 34 forks source link

Cannot switch back to react-native-paper bottom navigation #40

Closed iamshrikantjha closed 10 months ago

iamshrikantjha commented 2 years ago

Problem: I have build a structure using react-native-paper bottom navigation. One of the bottom tabs is ''Info" which is implemented using react-native-paper-tabs. It works fine when I get into it, but gives error when I switch back to my bottom tab navigator

For example Home -> Info (Works fine) {Also the swipe is working fine } ------x (Switching back to any bottom navigator option produces the error.)----

Screenshot_1649439542

Now if I will try to switch back to any screen other than "Info" tab it will give error.

Screenshot_1649439547

"@react-navigation/native": "^6.0.10",
"@react-navigation/native-stack": "^6.6.1",
"react": "17.0.2",
"react-native": "0.68.0",
**"react-native-pager-view": "^5.4.15",**
**"react-native-paper": "^4.12.0",**
**"react-native-paper-tabs": "^0.7.0",**
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^4.2.4",
**"react-native-screens": "^3.13.1",**
"react-native-vector-icons": "^9.1.0"

Thanks in advance.

iM-GeeKy commented 2 years ago

@RichardLindhout Here is a reproducible example using expo init. https://github.com/iM-GeeKy/test

Here is a video of the minimal example run on a Pixel 5a, but it can be reproduced on iOS simulator as well.

https://user-images.githubusercontent.com/7604441/167399630-0540b1b7-4ce4-46a7-a771-ff17ad701b0d.mp4

iM-GeeKy commented 2 years ago

https://github.com/web-ridge/react-native-paper-tabs/pull/41 should address this issue on the mobile side.

RichardLindhout commented 10 months ago

Is this still happening? There were some upgrades