wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.05k stars 2.67k forks source link

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

Open 7chenys opened 5 months ago

7chenys commented 5 months ago

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?

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