Skip to content

Actions.{destination-component} not working when located inside a method #334

Closed
@DeToxer

Description

@DeToxer

Instead of having Actions.Help directly inside the onPress of the button, im calling a method like so : onPress={this.handleOnPress}. The method looks like this:

_handleOnPress(){ Actions.Help; }

This does not work, but if i have the Actions.Help directly inside the onPress it works just fine.
Is this a knows bug or am i doing something wrong?

I have this problem several places in my app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions