anvaka / panzoom

Universal pan and zoom library (DOM, SVG, Custom)
https://anvaka.github.io/panzoom/demo/attach-via-script.html
MIT License
1.79k stars 287 forks source link

Artifacts appearing when pan/zooming with audio element #309

Closed mruac closed 10 months ago

mruac commented 12 months ago

Not sure what causes this but I don't think it is this library's fault.

If you pan/zoom the audio element in this demo, you'll notice the HTML audio element leaves behind artifacts that appear as lines that trail behind it. They seem to clear pretty quickly, so I'm not sure whether if this is a rendering issue that's caused by a low-end GPU?

https://github.com/anvaka/panzoom/assets/19784752/709f75f8-d27e-4423-b999-7c748eaf8cdd

anvaka commented 10 months ago

Yup, pretty sure this is not related to panzoom, seems like either a video drivers or browser specific.

I couldn't reproduce this in:

I tested in OSX 12.7.1 (21G920) with Intel Iris Graphics 550 1536 MB