Skip to content

<component> with nested custom component doesn't work properly #217

Closed
@SilentDepth

Description

@SilentDepth

Really confusing bug, at least for me.

Online demo: https://play.nativescript.org/?template=play-vue&id=cXD8qx

If I load CustomComponent via <component>, the tapping will not update the view (but console.log() works fine). If load it as a normal child component like <PageContent/>, or remove the <CustomComponent/>, everything back to normal.

When issue happens, NSVue log says something like:

[Vue warn]: Error in nextTick: "TypeError: undefined is not an object (evaluating 'e.$options')"

Or sometime:

[Vue warn]: Error in nextTick: "TypeError: undefined is not an object (evaluating 'n._transitionClasses')"

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