Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
neddongo opened this issue Feb 21, 2021 · 0 comments
Open

Comments

@neddongo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant