solid-docs
solid-docs copied to clipboard
Tutorial page example https://www.solidjs.com/tutorial/bindings_refs?solved doesn't work
Describe the bug
1st problem
The URL for the logo is given as https://dev.solidjs.com/img/logo/dark-without-wordmark/logo.svg
but it should probably be https://www.solidjs.com/img/logo/dark-without-wordmark/logo.svg
2nd problem
I see two logos (macOS 12.5.1 + Chrome 105 / Firefox 104): one appears inside the canvas, and another appears inside the body. My solution has been to apply the mask to .my-canvas
class instead of the canvas
element.
Your Example Website or App
https://www.solidjs.com/tutorial/bindings_refs?solved
Steps to Reproduce the Bug or Issue
Reproduce
- Go to https://www.solidjs.com/tutorial/bindings_refs?solved
- Look at the results tab
Expected behavior
To see the one logo with animated colors inside the canvas
Screenshots or Videos
No response
Platform
- OS: macOS 12.5.1
- Browser: Chrome 105, Firefox 104, maybe others too
Additional context
Fix for the 1st problem
- Display the
style.css
tab - Replace
dev
withwww
Fix for the 2nd problem
- Replace
canvas
withmy-canvas
- Display the
main.jsx
tab - Add
class="my-class"
to the canvas element
The cause of the second logo is due to the fact that there is a div with a class luna-dom-highlighter
which includes a second canvas element...

Thanks I've transferred this issue to docs.
Deploy Preview for solid-docs ready!
Name | Link |
---|---|
Latest commit | 466d33c4a8464136a4b1dee55634d205c5e95acd |
Latest deploy log | https://app.netlify.com/sites/solid-docs/deploys/63c65c095ac47b00094b1955 |
Deploy Preview | https://deploy-preview-188--solid-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.