Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Error While using the this.canvasWhiteboardService.drawCanvas(update) method from the package #65

@kpratikoc

Description

@kpratikoc

core.js:6228 ERROR TypeError: Cannot read property 'isVisible' of undefined at CanvasWhiteboardComponent._swapCompletedShapeToActualCanvas (ng2-canvas-whiteboard.js:1570) at CanvasWhiteboardComponent._draw (ng2-canvas-whiteboard.js:1544) at ng2-canvas-whiteboard.js:1667 at Array.forEach (<anonymous>) at CanvasWhiteboardComponent.drawUpdates (ng2-canvas-whiteboard.js:1662) at SafeSubscriber._next (ng2-canvas-whiteboard.js:1036) at SafeSubscriber.__tryOrUnsub (Subscriber.js:183) at SafeSubscriber.next (Subscriber.js:122) at Subscriber._next (Subscriber.js:72) at Subscriber.next (Subscriber.js:49)

I am storing the batch updates on the session storage and while trying to fetch the data from the session which raised the above error.
Can anyone help me ASAP? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions