Open dotku opened 2 years ago
Couldn't find version numbers for the following packages in the issue:
@react-navigation/native
@react-navigation/bottom-tabs
@react-navigation/drawer
@react-navigation/material-bottom-tabs
@react-navigation/material-top-tabs
@react-navigation/stack
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
Couldn't find version numbers for the following packages in the issue:
@react-navigation/bottom-tabs
@react-navigation/drawer
@react-navigation/material-bottom-tabs
@react-navigation/material-top-tabs
@react-navigation/stack
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/native
(found: 6.0.6
, latest: 6.0.8
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
Couldn't find version numbers for the following packages in the issue:
@react-navigation/bottom-tabs
@react-navigation/drawer
@react-navigation/material-bottom-tabs
@react-navigation/material-top-tabs
@react-navigation/stack
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
Current behavior
I have a simple project here: https://github.com/dotku/dk-i18n-trading-calculator feel that switching between screen, the transition is slow. It might take 1 sec to switch between different screen. Any performance tune up hint? or performance tracking tool to help the issue?
Could related to the issue: #7756
Expected behavior
should switching screen under 300 msec
Reproduction
https://github.com/dotku/dk-i18n-trading-calculator
Platform
- [ ] Android
- [x] iOS
- [ ] Web
- [ ] Windows
- [ ] MacOS
Packages
- [ ] @react-navigation/bottom-tabs
- [ ] @react-navigation/drawer
- [ ] @react-navigation/material-bottom-tabs
- [ ] @react-navigation/material-top-tabs
- [ ] @react-navigation/stack
- [x] @react-navigation/native-stack
Environment
- [] I've removed the packages that I don't use
package version @react-navigation/native 6.0.8 @react-navigation/bottom-tabs - @react-navigation/drawer - @react-navigation/material-bottom-tabs - @react-navigation/material-top-tabs - @react-navigation/stack - @react-navigation/native-stack 6.5.0 react-native-safe-area-context 3.3.2 react-native-screens 3.11.1 react-native-gesture-handler 2.2.0 react-native-reanimated - react-native-tab-view - react-native-pager-view - react-native 0.64.3 expo 5.1.3 node 16.6.2 npm or yarn yarn
I am using material top tab, it takes longer than 1sec to switch b/w tabs
Maybe also check if my approach here helps
Current behavior
I have a simple project here: https://github.com/dotku/dk-i18n-trading-calculator feel that switching between screen, the transition is slow. It might take 1 sec to switch between different screen. Any performance tune up hint? or performance tracking tool to help the issue?
Could related to the issue: #7756
Expected behavior
should switching screen under 300 msec
Reproduction
https://github.com/dotku/dk-i18n-trading-calculator
Platform
- [ ] Android
- [x] iOS
- [ ] Web
- [ ] Windows
- [ ] MacOS
Packages
- [ ] @react-navigation/bottom-tabs
- [ ] @react-navigation/drawer
- [ ] @react-navigation/material-bottom-tabs
- [ ] @react-navigation/material-top-tabs
- [ ] @react-navigation/stack
- [x] @react-navigation/native-stack
Environment
- [] I've removed the packages that I don't use
package version @react-navigation/native 6.0.8 @react-navigation/bottom-tabs - @react-navigation/drawer - @react-navigation/material-bottom-tabs - @react-navigation/material-top-tabs - @react-navigation/stack - @react-navigation/native-stack 6.5.0 react-native-safe-area-context 3.3.2 react-native-screens 3.11.1 react-native-gesture-handler 2.2.0 react-native-reanimated - react-native-tab-view - react-native-pager-view - react-native 0.64.3 expo 5.1.3 node 16.6.2 npm or yarn yarn
I am facing the issue when pressing the tabbar (using material top tab), while swipe is faster
2023 up
Same Problem with RN 0.70.6
i have same issue, i found that if i have a lot of images the transition in or out will lag
same problem RN 0.70.6
"@react-navigation/bottom-tabs": "^6.5.4",
"@react-navigation/native": "^6.1.3",
"@react-navigation/stack": "^6.3.12",
Switch the tabs and navigation is very slow.
I am also facing the same problem . initially i thought it may be happening due to app logic but even after changing my code it persist. below are the version i am using
"@react-navigation/bottom-tabs": "^6.5.7",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.9.12",
"react": "18.2.0",
"react-native": "0.71.5",
This issue seems apparent, even in the snack example within documentation: Try this example on Snack
same here
Ok, in my case it looks to be user error. I'm using the ui-kitten library and had one of my components wrapped with <ApplicationProvider>
by mistake. Once I removed this from the the component, navigate functionality performed normally, without delay.
exist workaround? this is very slow. RN 70.6
Same. It is very slow. After removing all components with just a button to switch screens takes 1 second RN 0.71.11 "@react-navigation/native": "6.1.2", "@react-navigation/native-stack": "6.9.8", @react-navigation/stack": "6.3.11",
I also encounter this in react native 0.72.4
"@react-navigation/native": "^6.1.7", "@react-navigation/native-stack": "^6.9.12",
This library is getting worse and worse. I'm on RN 0.71.7, doing everything by the book (docs) and the frame rate while transitioning between screens on Android is about 4 frames per second.
I'm also experiencing this issue on Expo Router v2 with fade
animation.
I got a significant improvement updating expo-router to 2.0.9 https://github.com/expo/router/issues/834
I'm using Expo and the stack navigator. After disabling the animations on android, it looks a lot better for me.
import { Platform } from 'react-native';
<Stack screenOptions={{ animation: Platform.OS === 'android' ? 'none' : 'default' }}>
... your stack
</Stack>
I experianced the same issue and then I changed the presentation to 'modal' and it was significantly improved
<Stack.Screen name='someWhere' component={someWhere} options={{ presentation: 'modal' }} />
not a fix but at least there is that 🤏
hi guys, I have the exact same problem which seems to go away only by putting screenOptions={{animation: 'none'}} in the Stack.Navigator.
Clearly I want the animations, but for now the only way found to temporarily solve the problem is precisely the one listed previously.
I hope someone finds the solution.
Current behavior
I have a simple project here: https://github.com/dotku/dk-i18n-trading-calculator feel that switching between screen, the transition is slow. It might take 1 sec to switch between different screen. Any performance tune up hint? or performance tracking tool to help the issue?
Could related to the issue: https://github.com/react-navigation/react-navigation/issues/7756
Expected behavior
should switching screen under 300 msec
Reproduction
https://github.com/dotku/dk-i18n-trading-calculator
Platform
Packages
Environment