Open schlichtanders opened 5 months ago
Interesting! Originally, PlutoUI.ExperimentalLayout.Div
would only work when it was used all the way to the top, i.e. the Div
must be the object returned by the cell, or its chain of parents is.
When wrapped inside @htl
, I believe that we use embed_display
(https://github.com/JuliaPluto/AbstractPlutoDingetjes.jl/pull/9) to make it work. So there must be an issue in the embed_display
mechanism. It's also possible that we just render HTML in this case. You can check the browser devtools which is the case.
But note that you only get the full benefits of experimentallayout (like partial re-rendering) if you return it directly from a cell.
Hi there, consider the following example
While dragging the slider in the
experimental_layout
cell works, it does freeze constantly when used in the@htl "$experimental_layout"
cell.Does someone know the reason and whether there is some way to circumvent this? It would be great if
PlutoUI.ExperimentalLayout.Div
could be used as part of an outer@htl
context.