react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

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

Open 7chenys opened this issue 1 month ago • 0 comments

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?

  • [X] 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

7chenys avatar Jun 05 '24 06:06 7chenys