Skip to content

[NavigatorIOS] resetTo will not change the title or rightButton #476

@lazywei

Description

@lazywei

I'm not sure if this is a feature or a bug.

My initial route:

return <NavigatorIOS
       style={{flex: 1}}
       initialRoute={{
               component: Login,
               title: 'Login',
       }} />;

in Login, I have such function to handle reseting route:

_handleLogin() {
     this.props.navigator.resetTo({
       component: ChatList,
       title: 'Chat List',
     });
},

However, the title seems not change even the ChatList is rendered correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions