Skip to content

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

@7chenys

Description

@7chenys

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions