-
Notifications
You must be signed in to change notification settings - Fork 27
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
SVG does not update after changing attributes #114
Comments
Hi @lemny, |
Updated and tried your interpolated color example, but no luck.
|
I also tried a minimum example by reducing it to only update the text
|
If you can give me an example flow (export in Node-RED of your svg and inject nodes), I can try to have a look. |
I used your example for color interpolation from https://github.com/bartbutenaers/node-red-contrib-ui-svg/blob/master/docs/msg_control.md#updateset-an-attribute-value-via-msg Result: https://imgur.com/a/yS2mdwH
|
I am not sure if it matters, but I am running Node Red on Node.js under Windows 10 on my Server. Not a raspberry of some kind. |
There was some really strange stuff going on on my side. I am doing this on my iPad currently lying in my bed at 0:30 :-) PS: Thank you very much for your time and effort to solve some single user problems. I am totally blown away by your patient support. |
Hi @lemny, |
So now on my PC I figured the style/attribute difference thanks to your debug messages. |
When sending an update payload to an element like
{ "command": "update_attribute", "selector": "#t_haustuer", "attributeName": "fill", "attributeValue": "red" }
the UI does not update.
I verified this with the official examples to be sure I didn't made an error.
I am using Node Red 3.0.1 with latest 3.1.7 dashboard.
The text was updated successfully, but these errors were encountered: