Algoinde
algoinde.bsky.social
Algoinde
@algoinde.bsky.social
`z-index` and `scale()` ensure the cursor is hovering over the image (as long as it is within the browser viewport), and `top` change ensures reflow to cause the mouse move event to fire. If you remove anything from this code, it fails to fix the bug.
August 20, 2025 at 1:04 PM
When rendering an SVG to a canvas on Safari there's a 1/10 chance the canvas will not render the images embedded in the SVG, UNLESS you first draw that SVG with an <img> tag visible within the viewport and ensure a mouse interaction happens on it. AAAAAAAAAAAAAAAAAAAAAAA
August 20, 2025 at 11:39 AM
browser
browser, japan:
October 24, 2023 at 8:50 AM