Skip to content

parentView undefined during willDestroyElement #12080

@dylanmensaert

Description

@dylanmensaert

This happens at least since v1.13.5. When changing to an older v1.11.1, assert never fails.

jsbin: http://emberjs.jsbin.com/lireho/edit?html,js,output

It would make sense that the parentView is still present since the event is called before the element gets destroyed.
So does this work as intended?

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