Skip to content

$navigateTo() frame ID issue #55

@unremarkablegarden

Description

@unremarkablegarden

To use this.$navigateTo() you now have to specify the frame ID 'navigator' explicitly or it won't navigate. Also won't give an error unless you add a catch().

This after running some of the later updates to the nativescript vue packages. Not sure which version I was at before when it was still working, sorry. Currently on the latest.

this.$navigateTo(ItemDetails, {
    frame: 'navigator',
    props: { ... }
}).catch(error => console.log(error))

The error I caught was: TypeError: undefined is not an object (evaluating 'frame.id')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions