Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug with onDestroy #123

@SergeyVelich

Description

@SergeyVelich

I have component only with editor. If I go route - all is good, I can edit my html.
If I want go to ref (to another route in this app) I have error:

ERROR Error: Uncaught (in promise): TypeError: this.blurInstance is not a function
TypeError: this.blurInstance is not a function
at AngularEditorComponent.ngOnDestroy (kolkov-angular-editor.js:1110)
at callProviderLifecycles (core.js:28212)
at callElementProvidersLifecycles (core.js:28171)
at callLifecycleHooksChildrenFirst (core.js:28153)
at destroyView (core.js:38603)
at callViewAction (core.js:38762)
at execComponentViewsAction (core.js:38670)
at destroyView (core.js:38602)
at callWithDebugContext (core.js:39716)
at Object.debugDestroyView [as destroyView] (core.js:39313)
at resolvePromise (zone-evergreen.js:797)
at resolvePromise (zone-evergreen.js:754)
at zone-evergreen.js:858
at ZoneDelegate.invokeTask (zone-evergreen.js:391)
at Object.onInvokeTask (core.js:34182)
at ZoneDelegate.invokeTask (zone-evergreen.js:390)
at Zone.runTask (zone-evergreen.js:168)
at drainMicroTaskQueue (zone-evergreen.js:559)
at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:469)
at invokeTask (zone-evergreen.js:1603)
defaultErrorLogger @ core.js:9110

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions