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

specialized show for Signal{Elem} gets called, but element doesn't update #23

Open
goretkin opened this issue Oct 4, 2017 · 0 comments

Comments

@goretkin
Copy link

goretkin commented Oct 4, 2017

The README has examples of displaying Elems from inside @manipulate, but due to JuliaGizmos/Interact.jl#147 this doesn't work as expected. (Probably stopped working with this commit: JuliaGizmos/Interact.jl@7bdfca2)

However, even with that fixed, a Signal{Elem} isn't updating correctly. In short

i = Interact.widget(1:10, "i") # make sure this gets `show`d

elem_sig = map(i->Elem(:h1, "hey$(i)"), signal(i))
elem_sig # this display should update when you manipulate the slider, but does not

More details are here:
https://gist.github.com/cd118ac56725bb7a3199100939cd92f2

version details:
Patchwork 0.4.0
Interact 0.6.0
IJulia 1.6.1

and same behavior on Chrome/Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant