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
Widgets that are dynamically (re)created and included in the ui via observables are not updated when using Blink. The following example is a simplified version of the "dynamic buttons" example in the Interact.jl tutorial.
btnshuffle =button("Shuffle")
buttons =Observable{Any}(dom"div"())
number =Observable(3)
map!(number, btnshuffle) do _
rand(1:10)
endfunctionmakebuttons(n)
btns = [button(string("button ", i)) for i in1:n]
dom"div"(hbox(btns))
endmap!(makebuttons, buttons, number)
ui =dom"div"(btnshuffle, number, buttons)
When number is reassigned, the list of buttons is updated and shown in Jupyter but on in Blink.
Context
Provider: Blink
Errors: none (neither on REPL nor on Blink console) ]status -m WebIO Blink:
The bug
Widgets that are dynamically (re)created and included in the ui via observables are not updated when using Blink. The following example is a simplified version of the "dynamic buttons" example in the Interact.jl tutorial.
When
number
is reassigned, the list of buttons is updated and shown in Jupyter but on in Blink.Context
Provider: Blink
Errors: none (neither on REPL nor on Blink console)
]status -m WebIO Blink
:versioninfo()
:The text was updated successfully, but these errors were encountered: