Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using signal for width/height causes errors in console #3910

Open
kprevas opened this issue Apr 26, 2024 · 0 comments
Open

Using signal for width/height causes errors in console #3910

kprevas opened this issue Apr 26, 2024 · 0 comments
Labels
bug For bugs or other software errors

Comments

@kprevas
Copy link

kprevas commented Apr 26, 2024

Using a signal for the width and/or height of a chart causes the following errors to appear in the console:

index-vI49XPQi.js:82 Error: <svg> attribute width: Expected length, "NaN".
index-vI49XPQi.js:82 Error: <svg> attribute height: Expected length, "NaN".
index-vI49XPQi.js:82 Error: <svg> attribute viewBox: Expected number, "0 0 NaN NaN".

Minimal repro case:
https://vega.github.io/editor/#/url/vega/N4Igzglg5gdghgGzCAXAbVPAtgU1SAYwAs4AnAFwHUIATcokAGhADdEBXPFAFgAZeAvo0xxc+YmXIAJHNCLkmrDlwDM-AQF1mRWVHmpQkWInEkKMuQqEgA7rXoHw0eAlOTqdBgIFA

@kprevas kprevas added the bug For bugs or other software errors label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For bugs or other software errors
Projects
None yet
Development

No branches or pull requests

1 participant