Error: Invalid value for <ellipse> attribute ry="Infinity"
when setting display: none;
to Waveform with Envelope plugin
#3856
Labels
Bug description
I get an error/warning in my browser console
Error: Invalid value for <ellipse> attribute ry="Infinity"
when adding adisplay:none;
styling to the waveform player which uses the envelope plugin. The error is shown for every x and y point in the envelope, so e.g. the minimal example below generates 6 errors.It seems like the points get assigned new coordinates with a value of Infinity, but I can't find out why or where.
It does not break anything else though. The hiding and unhiding works fine and all points on the envelope and waveform keep working as expected.
Environment
Minimal code snippet
In a Svelte component + TailwindCSS ('hidden' class adds
display:none;
to an element)Expected result
No errors
Obtained result
Screenshots
The text was updated successfully, but these errors were encountered: