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
When string interpolating a variable into a MathJax equation in Markdown, whenever the variable is changed (thus updating the MathJax) the notebook window scrolls up one tick.
Notes:
Only happens when there is other cells below
Only happens within MathJax, normal string interpolation in Markdown does not scroll
Not specific to @bind, bug is also present when just modifying a variable in a cell (@bind is just easy to play around with it)
Here's a MWE:
### A Pluto.jl notebook #### v0.11.14using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).macrobind(def, element)
quotelocal el =$(esc(element))
global$(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) :missing
el
endend# ╔═╡ 6186e0a0-0766-11eb-36f8-715ffb9066adusing PlutoUI
# ╔═╡ 62670770-0766-11eb-2c40-455dc1f787d6HTML("<br>"^60)
# ╔═╡ 6e3f4170-0766-11eb-01c6-6bae72fb6523@bind θ Slider(1:10)
# ╔═╡ 51082900-0766-11eb-2ffb-6d992bea4550
Markdown.parse("\$\$\\theta = $θ\$\$")
# ╔═╡ 7fbdb5d0-0766-11eb-2c65-e75b8fdc987fHTML("<br>"^60)
# ╔═╡ Cell order:# ╠═6186e0a0-0766-11eb-36f8-715ffb9066ad# ╠═62670770-0766-11eb-2c40-455dc1f787d6# ╠═51082900-0766-11eb-2ffb-6d992bea4550# ╠═6e3f4170-0766-11eb-01c6-6bae72fb6523# ╠═7fbdb5d0-0766-11eb-2c65-e75b8fdc987f
The text was updated successfully, but these errors were encountered:
When string interpolating a variable into a MathJax equation in Markdown, whenever the variable is changed (thus updating the MathJax) the notebook window scrolls up one tick.
Notes:
@bind
, bug is also present when just modifying a variable in a cell (@bind
is just easy to play around with it)Here's a MWE:
The text was updated successfully, but these errors were encountered: