Skip to content

TimeLine render code triples the view if extended into a child class #66

@neddongo

Description

@neddongo

I wish to extend the TimeLine component's render function. If I extend the class and have render as follows:
render() { return TimeLine.prototype.render.call(this);
Then the calendar displays normally.

However, if I copy the contents of the render function from TimeLine.js into my child class's render() function, the calendar repeats itself across the screen multiple times:
image

How can I avoid this happening? I have already imported all the correct modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions