Closed MOQN closed 5 months ago
Fixed in #10 Preview Deployment
@alanvww Thank you! This is fantastic. Can you please apply max-width: 800px
for the iframe
module on Learn, Community and About pages?
@MOQN I just tried a little more time with my deploy preview and I believe the sketch is loading correctly when the user go back from the docsify page now.(It didn't fail on my device :/) But for the problem in "open in new page", it shows the same error that
DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
This is actually quite interesting and I would like to explore it more besides working on the content. In the meantime, maybe we can try to review the p5 sketch code together?
@alanvww Thank you! Absolutely. Please feel free to look at this code. I got an idea for solving it. Let me explore it and share the details soon.
The hero sketch was newly developed with @XiaozaoWang's hand sketches.
The p5 sketch in the iframe doesn't load when coming back from a Docisy page.