You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the Idyll Editor, inserting a variable between a pre-existing variable tag and a pre-existing non-variable tag seems to not hoist the new variable correctly and doesn't bind to other tags that refer to it.
The display will disappear and the change to the value "2" won't be registered
Expected behavior
Variables should be registered and usable regardless of where they are inserted in the editor (since they are hoisted by the compiler). In the example, the Display component should change to "2.00" and not go blank.
Screenshots
Additional context
From Gitter convo regarding adding a frequency variable to the sin chart example
The text was updated successfully, but these errors were encountered:
Describe the bug
In the Idyll Editor, inserting a variable between a pre-existing variable tag and a pre-existing non-variable tag seems to not hoist the new variable correctly and doesn't bind to other tags that refer to it.
To Reproduce
Steps to reproduce the behavior:
This should render "1.00" correctly on the right hand side.
[var name:"b" value:2 /]
in between the two tags and change the display value to "b"The display will disappear and the change to the value "2" won't be registered
Expected behavior
Variables should be registered and usable regardless of where they are inserted in the editor (since they are hoisted by the compiler). In the example, the Display component should change to "2.00" and not go blank.
Screenshots
Additional context
From Gitter convo regarding adding a frequency variable to the sin chart example
The text was updated successfully, but these errors were encountered: