Skip to content

Navigation problem after route #9

@TavenCFC

Description

@TavenCFC

Hello! I have a problem with navigation, after route from one component to another.
After my app has loaded, I do an authorization check, then I route to another component.

componentWillMount() { this.props.Auth().then(() => { if (this.props.needSignUp) { this.props.history.push({pathname: '/signup/'}) } }) }

In the signup component, I have an Focusable elements

<div> <Focusable>Button-1</Focusable> <Focusable>Button-2</Focusable> </div>

When I trying to navigate this element, I get an error:

index.js:952 Uncaught TypeError: Cannot read property 'getNextFocusFrom' of undefined at Navigation.focusNext (index.js:952) at Navigation._this.onKeyDown (index.js:917)

What could be the reason?

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