Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

底部导航栏频繁修改iconColor反应慢 #7884

Open
1 task done
7chenys opened this issue Jun 5, 2024 · 0 comments
Open
1 task done

底部导航栏频繁修改iconColor反应慢 #7884

7chenys opened this issue Jun 5, 2024 · 0 comments

Comments

@7chenys
Copy link

7chenys commented Jun 5, 2024

What happened?

我在切换页面的时候做了修改导航栏图标颜色的操作,这个操作会很频繁,这个过程中,修改的颜色总是会很慢才出现
Navigation.mergeOptions('Home_TAB', {
bottomTab: {
iconColor: tabIndex === 2 ? '#fff' : '#262626',
},
});

What was the expected behaviour?

我的预期是能够做到秒切换

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version:
React Native version:
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:
Device model:
Android version:

Tasks

No tasks being tracked yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant