Open ducpt-bili opened 1 year ago
Yes i am also facing issue while using nesting navigation.when clicking tab icons so much delay to navigate
hi @ducpt-bili , @arun-saleth , What steps can I follow to replicate the issue you are experiencing? Have you tried using React.memo and then wrapping the BottomBar?
I will share my code here
<CurvedBottomBar.Navigator style={styles.bottomBar} screenOptions={{ headerShown: false }} strokeColor="#DDDDDD" circleWidth={60} strokeWidth={1} bgColor="white" shadowStyle={styles.shawdow} initialRouteName="Home" // width={isTablet ? width / 2.3 : width} borderTopLeftRight renderCircle={({ selectedTab, navigate }) => (
@hoaphantn7604 when I expect this? .too much lagging
@hoaphantn7604 I tried memo.Its woking perfectly.Thank you for your Suggestions
Hi @arun-saleth
Can you share with me where to handle useMemo?
@hoaphantn7604 @arun-saleth it's slow for me, I don't know why, tried useMemo didn't change maybe i wrote it wrong, could you explain how to use useMemo or if there is another solution to this issue please help
CHÀO@ducpt-bili,@arun-saleth, Tôi có thể làm theo những bước nào để tái hiện vấn đề bạn đang gặp phải? Bạn đã thử sử dụng React.memo và sau đó gói BottomBar chưa?
Do you mean wrap usememo to cover the entire bottom bar?
The bottom tab is so lagging when i combine Curved Bottom Bar and Stack navigator. The layer is like this:
Thank you.